/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 37 use function str_contains; alias 508 if (str_contains($format, '%d')) { 511 if (str_contains($format, '%j')) { 514 if (str_contains($format, '%l')) { 517 if (str_contains($format, '%D')) { 520 if (str_contains($format, '%N')) { 523 if (str_contains($format, '%w')) { 526 if (str_contains($format, '%z')) { 529 if (str_contains($format, '%F')) { 532 if (str_contains($format, '%m')) { [all …]
|
/webtrees/app/Report/ |
H A D | RightToLeftSupport.php | 26 use function str_contains; alias 214 if (!str_contains(self::NUMBERS, $charArray['letter'])) { 218 … } elseif (str_contains(self::NUMBER_PUNCTUATION, $charArray['letter'])) { 223 if (!str_contains(self::NUMBERS, $charArray['letter'])) { 227 if (!str_contains(self::NUMBER_PREFIX, $currentLetter)) { 235 } elseif (str_contains(self::NUMBER_PREFIX, $currentLetter)) { 240 if (str_contains(self::NUMBERS, $nextChar)) { 246 } elseif (str_contains(self::NUMBERS, $currentLetter)) { 279 …if (str_contains(self::PUNCTUATION, $nextLetter) || str_contains(self::OPEN_PARENTHESES, $nextLett… 422 if (str_contains($result, ' <LTRbr>')) { [all …]
|
H A D | ReportHtmlCell.php | 22 use function str_contains; alias 39 if (str_contains($this->text, '{{:ptp:}}')) { 95 if (str_contains($this->border, 'T')) { 99 if (str_contains($this->border, 'B')) { 103 if (str_contains($this->border, 'R')) { 107 if (str_contains($this->border, 'L')) {
|
H A D | ReportParserGenerate.php | 73 use function str_contains; alias 1172 while (!str_contains($lines[$lineoffset + $this->repeat_bytes], '<RepeatTag')) { 1181 if (str_contains($lines[$line_nr], '<RepeatTag')) { 1183 } elseif (str_contains($lines[$line_nr], '</RepeatTag')) { 1371 …while ($lineoffset + $this->repeat_bytes > 0 && !str_contains($lines[$lineoffset + $this->repeat_b… 1507 if (str_contains($value, '@')) { 2288 …while ((!str_contains($lines[$lineoffset + $this->repeat_bytes], '<List')) && (($lineoffset + $thi… 2297 if (str_contains($lines[$line_nr], '<List')) { 2299 } elseif (str_contains($lines[$line_nr], '</List')) { 2514 …while (!str_contains($lines[$lineoffset + $this->repeat_bytes], '<Relatives') && $lineoffset + $th… [all …]
|
H A D | ReportBaseText.php | 22 use function str_contains; alias 66 if (str_contains($this->text, "\n")) {
|
H A D | ReportBaseFootnote.php | 22 use function str_contains; alias 73 if (str_contains($this->numText, "\n")) {
|
/webtrees/app/Factories/ |
H A D | EncodingFactory.php | 43 use function str_contains; alias 85 …while (str_contains($header, "\n ") || str_contains($header, " \n") || str_contains($header, ' ')… 135 if (str_contains($pattern, '/')) {
|
H A D | RouteFactory.php | 73 …parameters, static fn (string $key): bool => !str_contains($route->path, '{' . $key . '}') && !str…
|
/webtrees/app/Elements/ |
H A D | AbstractElement.php | 33 use function str_contains; alias 98 while (str_contains($value, ' ')) { 303 if (str_contains($value, "\n")) { 336 if (str_contains($canonical, 'http://') || str_contains($canonical, 'https://')) { 343 if (str_contains($html, '<br>')) {
|
/webtrees/app/ |
H A D | View.php | 37 use function str_contains; alias 221 …if (str_contains($old, self::NAMESPACE_SEPARATOR) && str_contains($new, self::NAMESPACE_SEPARATOR)… 242 if (!str_contains($view_name, self::NAMESPACE_SEPARATOR)) {
|
H A D | I18N.php | 43 use function str_contains; alias 318 if (str_contains(self::$locale->code(), '@')) { 457 if (str_contains(self::DIGITS, $letter)) {
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CheckTree.php | 67 use function str_contains; alias 214 …if (str_starts_with($tag, '_') || str_starts_with($full_tag, '_') || str_contains($full_tag, ':_')… 257 …} elseif (($full_tag === 'FAM:HUSB' || $full_tag === 'FAM:WIFE') && !str_contains($linked->gedcom,… 262 …} elseif ($full_tag === 'FAM:CHIL' && !str_contains($linked->gedcom, "\n1 FAMC @" . $record->xref … 267 …} elseif ($full_tag === 'INDI:FAMC' && !str_contains($linked->gedcom, "\n1 CHIL @" . $record->xref… 272 …eif ($full_tag === 'INDI:FAMS' && !str_contains($linked->gedcom, "\n1 HUSB @" . $record->xref . '@…
|
H A D | MapDataImportAction.php | 49 use function str_contains; alias 126 if (str_contains($string, 'FeatureCollection')) { 162 …$callback = static fn (array $place): bool => !str_contains($place['name'], ',') || $place['longit…
|
H A D | ModuleAction.php | 32 use function str_contains; alias 77 if (str_contains($action, 'Admin') && !Auth::isAdmin($user)) {
|
/webtrees/app/Http/Middleware/ |
H A D | CompressResponse.php | 33 use function str_contains; alias 109 if (str_contains($accept_encoding, 'gzip')) { 113 if (str_contains($accept_encoding, 'deflate')) {
|
H A D | Router.php | 41 use function str_contains; alias 155 if ($value === null && str_contains($route->path, '{tree}')) {
|
/webtrees/app/Services/ |
H A D | MediaFileService.php | 52 use function str_contains; alias 168 if (str_contains($remote, '://')) { 196 if ($new_file !== '' && !str_contains($new_file, '/')) { 244 if (str_contains($file, '://')) {
|
H A D | IndividualFactsService.php | 507 … if (str_contains($SHOW_RELATIVES_EVENTS, '_BIRT' . str_replace('_HSIB', '_SIBL', $option))) { 539 … if (str_contains($SHOW_RELATIVES_EVENTS, '_DEAT' . str_replace('_HSIB', '_SIBL', $option))) { 571 … if (str_contains($SHOW_RELATIVES_EVENTS, '_MARR' . str_replace('_HSIB', '_SIBL', $option))) { 724 if (str_contains($SHOW_RELATIVES_EVENTS, '_MARR_PARE')) { 747 … if (str_contains($SHOW_RELATIVES_EVENTS, '_DEAT' . ($sosa === 1 ? '_PARE' : '_GPAR'))) { 812 if (str_contains($SHOW_RELATIVES_EVENTS, '_DEAT_SPOU')) {
|
H A D | GedcomImportService.php | 56 use function str_contains; alias 100 if (str_contains($data, '(')) { 193 while (str_contains($data, ' ')) { 277 if ($tree->getPreference('GENERATE_UIDS') === '1' && !str_contains($gedrec, "\n1 _UID ")) { 399 if (!str_contains($gedrec, "\n1 DATE ")) {
|
/webtrees/app/Module/ |
H A D | FixWtObjeSortTag.php | 30 use function str_contains; alias 98 …return str_contains($record->gedcom(), "\n1 _WT_OBJE_SORT ") || str_contains($record->gedcom(), "\…
|
H A D | ModuleCustomTrait.php | 33 use function str_contains; alias 178 if (str_contains($asset, '..')) {
|
H A D | FixCemeteryTag.php | 31 use function str_contains; alias 188 if (!str_contains($gedcom, "\n2 " . $convert . ' ')) {
|
H A D | FixPrimaryTag.php | 31 use function str_contains; alias 94 return str_contains($record->gedcom(), "\n1 _PRIM ");
|
H A D | SlideShowModule.php | 36 use function str_contains; alias 145 … return str_contains($individual->gedcom(), "\n1 OBJE @" . $media->xref() . '@'); 148 … return str_contains($individual->gedcom(), "\n2 OBJE @" . $media->xref() . '@');
|
/webtrees/app/Statistics/Repository/ |
H A D | GedcomRepository.php | 32 use function str_contains; alias 121 if (str_contains($head[1], 'Family Tree Maker ')) {
|