Home
last modified time | relevance | path

Searched refs:strtr (Results 1 – 25 of 57) sorted by relevance

123

/webtrees/app/Date/
H A DAbstractCalendarDate.php39 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 DCreateSourceAction.php60 $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 DCreateSubmitterAction.php54 $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 DCreateRepositoryAction.php55 $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 DSearchAdvancedPage.php41 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 DCreateNoteAction.php48 $gedcom = '0 @@ NOTE ' . strtr($note, ["\n" => "\n1 CONT "]);
51 $gedcom .= "\n1 RESN " . strtr($restriction, ["\n" => "\n2 CONT "]);
/webtrees/app/Services/
H A DMediaFileService.php54 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 DGedcomImportService.php61 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 DPlaceName.php59 $value = strtr($value, ['،' => ',', ',' => ',', '、' => ',']);
62 $value = strtr($value, [' ,' => ',']);
65 $value = strtr($value, [',' => ', ']);
66 $value = strtr($value, [', ' => ', ']);
H A DAbstractElement.php96 $value = strtr($value, self::WHITESPACE_LINE);
99 $value = strtr($value, [' ' => ' ']);
114 $value = strtr($value, self::WHITESPACE_TEXT);
225 return strtr($value, ['@' => '@@']);
H A DEventsRecorded.php104 $value = strtoupper(strtr(parent::canonical($value), [' ' => ',']));
107 $value = strtr($value, [',,' => ',']);
144 'selected' => explode(',', strtr($value, [' ' => ''])),
H A DLdsSpouseSealingDateStatus.php24 use function strtr; alias
51 return strtr(strtoupper(parent::canonical($value)), ['CANCELLED' => 'CANCELED']);
/webtrees/app/Module/
H A DFixSearchAndReplace.php357 $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 DModuleLanguageTrait.php209 $text = strtr($text, $this->normalizeExceptions());
212 return strtr($text, $this->combining_diacritics);
/webtrees/app/
H A DI18N.php48 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 DHtml.php27 use function strtr; alias
69 $path = strtr($path, [' ' => '%20']);
/webtrees/app/Factories/
H A DMarkdownFactory.php45 use function strtr; alias
111 return strtr($html, ["\n" => '']);
139 return strtr($html, ["\n" => '']);
H A DIdFactory.php45 return strtolower(strtr(Uuid::uuid4()->toString(), ['-' => '']));
71 $uid = strtoupper(strtr($this->uuid(), ['-' => '']));
/webtrees/app/Census/
H A DCensusColumnSurnameGivenNames.php41 …$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 DBrowserRepository.php36 $format = strtr(I18N::dateFormat(), ['%' => '']);
46 $format = strtr(I18N::timeFormat(), ['%' => '']);
H A DServerRepository.php37 $format = strtr(I18N::dateFormat(), ['%' => '']);
47 $format = strtr(I18N::timeFormat(), ['%' => '']);
/webtrees/app/Encodings/
H A DAbstractEncoding.php29 use function strtr; alias
76 return strtr($text, static::TO_UTF8);
H A DANSEL.php23 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 DCompressResponse.php36 use function strtr; alias
134 $content_type = strtr($content_type, [' ' => '']);
/webtrees/resources/views/
H A Dfact-gedcom-fields.phtml81 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?>
89 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?>

123