Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 14 of 14) sorted by relevance

/webtrees/app/Date/
H A DJulianDate.php102 …return I18N::translate('%s CE', I18N::digits(sprintf('%d/%02d', $this->year - 1, $this->year …
117 return sprintf('%04d B.C.', -$this->year);
121 return sprintf('%04d/%02d', $this->year - 1, $this->year % 100);
124 return sprintf('%04d', $this->year);
H A DAbstractCalendarDate.php36 use function sprintf; alias
774 return sprintf('%02d', $this->day);
803 return sprintf('%04d', $this->year);
H A DRomanDate.php41 return sprintf('%04dAUC', $this->year);
/webtrees/app/Http/Middleware/
H A DEmitResponse.php37 use function sprintf; alias
96 $message = sprintf('Headers already sent at %s:%d', $file, $line);
123 header(sprintf(
139 sprintf('%s: %s', $name, $value),
/webtrees/app/
H A DI18N.php42 use function sprintf; alias
345 return sprintf($message, ...$args);
423 return sprintf($message, ...$args);
616 return sprintf($message, ...$args);
H A DColorGenerator.php92 …return sprintf('hsla(%d, %d%%, %d%%, %0.2f)', $this->hue, $this->saturation, $this->lightness, $th…
H A DGedcomRecord.php711 $ymd = sprintf('%04d-%02d-%02d', $date->year(), $date->month(), $date->day());
/webtrees/app/Http/RequestHandlers/
H A DDeleteRecord.php39 use function sprintf; alias
92 …sage(I18N::translate('The link from “%1$s” to “%2$s” has been deleted.', sprintf('<a href="%1$s" c…
97 …sage(I18N::translate('The link from “%1$s” to “%2$s” has been deleted.', sprintf('<a href="%1$s" c…
/webtrees/app/Statistics/Service/
H A DColorService.php26 use function sprintf; alias
79 return sprintf('#%02x%02x%02x', $r, $g, $b);
/webtrees/app/Report/
H A DReportParserBase.php30 use function sprintf; alias
88 throw new DomainException(sprintf(
H A DReportParserGenerate.php72 use function sprintf; alias
1221 throw new DomainException(sprintf(
1429 throw new DomainException(sprintf(
2342 throw new DomainException(sprintf(
2571 …throw new DomainException(sprintf('RelativesEHandler XML error: %s at line %d', xml_error_string(x…
2842 Log::addErrorLog(sprintf('Undefined variable $%s in report', $matches[1]));
/webtrees/app/Services/
H A DRelationshipService.php41 use function sprintf; alias
225 …onships, static fn (array $carry, array $item): array => [sprintf($carry[1], $item[0]), sprintf($c…
/webtrees/app/Module/
H A DStatisticsChartModule.php45 use function sprintf; alias
983 … 'f' => $y_axis_type === self::Y_AXIS_PERCENT ? sprintf('%.1f%%', $value) : $value,
/webtrees/
H A Dphpstan-baseline.neon7480 …message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|nul…