/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 39 use function strtr; alias 470 …$format = strtr($format, ['%d' => '', '日' => '', '%j,' => '', '%j' => '', '%l' => '', '%D' => '', … 473 … $format = strtr($format, ['%F' => '', '%m' => '', '%M' => '', '月' => '', '%n' => '', '%t' => '']); 476 … $format = strtr($format, ['%t' => '', '%L' => '', '%G' => '', '%y' => '', '年' => '', '%Y' => '']); 509 $format = strtr($format, ['%d' => $this->formatDayZeros()]); 512 $format = strtr($format, ['%j' => $this->formatDay()]); 515 $format = strtr($format, ['%l' => $this->formatLongWeekday()]); 518 $format = strtr($format, ['%D' => $this->formatShortWeekday()]); 521 $format = strtr($format, ['%N' => $this->formatIsoWeekday()]); 524 $format = strtr($format, ['%w' => $this->formatNumericWeekday()]); [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CreateSourceAction.php | 60 $gedcom = "0 @@ SOUR\n1 TITL " . strtr($title, ["\n" => "\n2 CONT "]); 63 $gedcom .= "\n1 ABBR " . strtr($abbreviation, ["\n" => "\n2 CONT "]); 67 $gedcom .= "\n1 AUTH " . strtr($author, ["\n" => "\n2 CONT "]); 71 $gedcom .= "\n1 PUBL " . strtr($publication, ["\n" => "\n2 CONT "]); 75 $gedcom .= "\n1 TEXT " . strtr($text, ["\n" => "\n2 CONT "]); 82 $gedcom .= "\n2 CALN " . strtr($call_number, ["\n" => "\n3 CONT "]); 87 $gedcom .= "\n1 RESN " . strtr($restriction, ["\n" => "\n2 CONT "]);
|
H A D | CreateSubmitterAction.php | 54 $gedcom = "0 @@ SUBM\n1 NAME " . strtr($name, ["\n" => "\n2 CONT "]); 57 $gedcom .= "\n1 ADDR " . strtr($address, ["\n" => "\n2 CONT "]); 61 $gedcom .= "\n1 EMAIL " . strtr($email, ["\n" => "\n2 CONT "]); 65 $gedcom .= "\n1 PHON " . strtr($phone, ["\n" => "\n2 CONT "]); 69 $gedcom .= "\n1 RESN " . strtr($restriction, ["\n" => "\n2 CONT "]);
|
H A D | CreateRepositoryAction.php | 55 $gedcom = "0 @@ REPO\n1 NAME " . strtr($name, ["\n" => "\n2 CONT "]); 58 $gedcom .= "\n1 ADDR " . strtr($address, ["\n" => "\n2 CONT "]); 62 $gedcom .= "\n1 WWW " . strtr($url, ["\n" => "\n2 CONT "]); 66 $gedcom .= "\n1 RESN " . strtr($restriction, ["\n" => "\n2 CONT "]);
|
H A D | SearchAdvancedPage.php | 41 use function strtr; alias 199 …$label1 = $element_factory->make(strtr($x, [':DATE' => '', ':PLAC' => '', ':TYPE' => '']))->label(… 200 …$label2 = $element_factory->make(strtr($y, [':DATE' => '', ':PLAC' => '', ':TYPE' => '']))->label(… 222 $tmp = strtr($field, ['MOTHER:' => 'INDI:', 'FATHER:' => 'INDI:']);
|
H A D | CreateNoteAction.php | 48 $gedcom = '0 @@ NOTE ' . strtr($note, ["\n" => "\n1 CONT "]); 51 $gedcom .= "\n1 RESN " . strtr($restriction, ["\n" => "\n2 CONT "]);
|
/webtrees/app/Services/ |
H A D | MediaFileService.php | 54 use function strtr; alias 195 $new_file = strtr($new_file, ['\\' => '/']); 203 $folder = strtr($folder, ['\\' => '/']); 252 $gedcom .= "\n2 FORM " . strtr($format, ["\n" => "\n3 CONT "]); 258 $gedcom .= "\n3 TYPE " . strtr($type, ["\n" => "\n4 CONT "]); 262 $gedcom .= "\n2 TITL " . strtr($title, ["\n" => "\n3 CONT "]); 267 $gedcom .= "\n1 NOTE " . strtr($note, ["\n" => "\n2 CONT "]);
|
H A D | GedcomImportService.php | 61 use function strtr; alias 191 $data = strtr($data, ["\t" => ' ']); 194 $data = strtr($data, [' ' => ' ']); 712 $gedcom = strtr($gedcom, [$match[0] => "\n1 OBJE @" . $xref . '@']); 716 $gedcom = strtr($gedcom, [$match[0] => "\n2 OBJE @" . $xref . '@']); 720 $gedcom = strtr($gedcom, [$match[0] => "\n3 OBJE @" . $xref . '@']); 811 … $gedcom .= "\n1 NOTE " . strtr($note, ["\n3" => "\n2", "\n4" => "\n2", "\n5" => "\n2"]);
|
/webtrees/app/Elements/ |
H A D | PlaceName.php | 59 $value = strtr($value, ['،' => ',', ',' => ',', '、' => ',']); 62 $value = strtr($value, [' ,' => ',']); 65 $value = strtr($value, [',' => ', ']); 66 $value = strtr($value, [', ' => ', ']);
|
H A D | AbstractElement.php | 96 $value = strtr($value, self::WHITESPACE_LINE); 99 $value = strtr($value, [' ' => ' ']); 114 $value = strtr($value, self::WHITESPACE_TEXT); 225 return strtr($value, ['@' => '@@']);
|
H A D | EventsRecorded.php | 104 $value = strtoupper(strtr(parent::canonical($value), [' ' => ','])); 107 $value = strtr($value, [',,' => ',']); 144 'selected' => explode(',', strtr($value, [' ' => ''])),
|
H A D | LdsSpouseSealingDateStatus.php | 24 use function strtr; alias 51 return strtr(strtoupper(parent::canonical($value)), ['CANCELLED' => 'CANCELED']);
|
/webtrees/app/Module/ |
H A D | FixSearchAndReplace.php | 357 $replace = strtr($params['replace-with'], ['\n' => "\n"]); 385 … return '/\b' . strtr(preg_quote($search, '/'), ['\*' => '.*', '\?' => '.']) . '\b/u' . $case; 426 $like = strtr($like, ['?' => '_', '*' => '%']); 433 $search = strtr($search, ['\n' => "\n"]);
|
H A D | ModuleLanguageTrait.php | 209 $text = strtr($text, $this->normalizeExceptions()); 212 return strtr($text, $this->combining_diacritics);
|
/webtrees/app/ |
H A D | I18N.php | 48 use function strtr; alias 450 $text = strtr($text, self::MIRROR_CHARACTERS); 568 $string = strtr($string, self::DOTLESS_I_TOLOWER); 584 $string = strtr($string, self::DOTLESS_I_TOUPPER);
|
H A D | Html.php | 27 use function strtr; alias 69 $path = strtr($path, [' ' => '%20']);
|
/webtrees/app/Factories/ |
H A D | MarkdownFactory.php | 45 use function strtr; alias 111 return strtr($html, ["\n" => '']); 139 return strtr($html, ["\n" => '']);
|
H A D | IdFactory.php | 45 return strtolower(strtr(Uuid::uuid4()->toString(), ['-' => ''])); 71 $uid = strtoupper(strtr($this->uuid(), ['-' => '']));
|
/webtrees/app/Census/ |
H A D | CensusColumnSurnameGivenNames.php | 41 …$surname = strtr($name['surname'], [Individual::NOMEN_NESCIO => I18N::translateContext('Unknow… 42 …$given_names = strtr($name['givn'], [Individual::PRAENOMEN_NESCIO => I18N::translateContext('Unkno…
|
/webtrees/app/Statistics/Repository/ |
H A D | BrowserRepository.php | 36 $format = strtr(I18N::dateFormat(), ['%' => '']); 46 $format = strtr(I18N::timeFormat(), ['%' => '']);
|
H A D | ServerRepository.php | 37 $format = strtr(I18N::dateFormat(), ['%' => '']); 47 $format = strtr(I18N::timeFormat(), ['%' => '']);
|
/webtrees/app/Encodings/ |
H A D | AbstractEncoding.php | 29 use function strtr; alias 76 return strtr($text, static::TO_UTF8);
|
H A D | ANSEL.php | 23 use function strtr; alias 669 $text = strtr($text, self::TO_UTF8); 672 return strtr($text, self::PRECOMPOSED_CHARACTERS); 685 $text = strtr($text, array_flip(self::PRECOMPOSED_CHARACTERS)); 688 $text = strtr($text, self::HORN_CONVERT_STEP_1); 694 $text = strtr($text, self::HORN_CONVERT_STEP_2);
|
/webtrees/app/Http/Middleware/ |
H A D | CompressResponse.php | 36 use function strtr; alias 134 $content_type = strtr($content_type, [' ' => '']);
|
/webtrees/resources/views/ |
H A D | fact-gedcom-fields.phtml | 81 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?> 89 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?>
|