Searched refs:sprintf (Results 1 – 14 of 14) sorted by relevance
/webtrees/app/Date/ |
H A D | JulianDate.php | 102 …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 D | AbstractCalendarDate.php | 36 use function sprintf; alias 774 return sprintf('%02d', $this->day); 803 return sprintf('%04d', $this->year);
|
H A D | RomanDate.php | 41 return sprintf('%04dAUC', $this->year);
|
/webtrees/app/Http/Middleware/ |
H A D | EmitResponse.php | 37 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 D | I18N.php | 42 use function sprintf; alias 345 return sprintf($message, ...$args); 423 return sprintf($message, ...$args); 616 return sprintf($message, ...$args);
|
H A D | ColorGenerator.php | 92 …return sprintf('hsla(%d, %d%%, %d%%, %0.2f)', $this->hue, $this->saturation, $this->lightness, $th…
|
H A D | GedcomRecord.php | 711 $ymd = sprintf('%04d-%02d-%02d', $date->year(), $date->month(), $date->day());
|
/webtrees/app/Http/RequestHandlers/ |
H A D | DeleteRecord.php | 39 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 D | ColorService.php | 26 use function sprintf; alias 79 return sprintf('#%02x%02x%02x', $r, $g, $b);
|
/webtrees/app/Report/ |
H A D | ReportParserBase.php | 30 use function sprintf; alias 88 throw new DomainException(sprintf(
|
H A D | ReportParserGenerate.php | 72 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 D | RelationshipService.php | 41 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 D | StatisticsChartModule.php | 45 use function sprintf; alias 983 … 'f' => $y_axis_type === self::Y_AXIS_PERCENT ? sprintf('%.1f%%', $value) : $value,
|
/webtrees/ |
H A D | phpstan-baseline.neon | 7480 …message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|nul…
|