Home
last modified time | relevance | path

Searched refs:str_contains (Results 1 – 25 of 37) sorted by relevance

12

/webtrees/app/Date/
H A DAbstractCalendarDate.php37 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 DRightToLeftSupport.php26 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 DReportHtmlCell.php22 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 DReportParserGenerate.php73 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 DReportBaseText.php22 use function str_contains; alias
66 if (str_contains($this->text, "\n")) {
H A DReportBaseFootnote.php22 use function str_contains; alias
73 if (str_contains($this->numText, "\n")) {
/webtrees/app/Factories/
H A DEncodingFactory.php43 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 DRouteFactory.php73 …parameters, static fn (string $key): bool => !str_contains($route->path, '{' . $key . '}') && !str…
/webtrees/app/Elements/
H A DAbstractElement.php33 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 DView.php37 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 DI18N.php43 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 DCheckTree.php67 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 DMapDataImportAction.php49 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 DModuleAction.php32 use function str_contains; alias
77 if (str_contains($action, 'Admin') && !Auth::isAdmin($user)) {
/webtrees/app/Http/Middleware/
H A DCompressResponse.php33 use function str_contains; alias
109 if (str_contains($accept_encoding, 'gzip')) {
113 if (str_contains($accept_encoding, 'deflate')) {
H A DRouter.php41 use function str_contains; alias
155 if ($value === null && str_contains($route->path, '{tree}')) {
/webtrees/app/Services/
H A DMediaFileService.php52 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 DIndividualFactsService.php507 … 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 DGedcomImportService.php56 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 DFixWtObjeSortTag.php30 use function str_contains; alias
98 …return str_contains($record->gedcom(), "\n1 _WT_OBJE_SORT ") || str_contains($record->gedcom(), "\…
H A DModuleCustomTrait.php33 use function str_contains; alias
178 if (str_contains($asset, '..')) {
H A DFixCemeteryTag.php31 use function str_contains; alias
188 if (!str_contains($gedcom, "\n2 " . $convert . ' ')) {
H A DFixPrimaryTag.php31 use function str_contains; alias
94 return str_contains($record->gedcom(), "\n1 _PRIM ");
H A DSlideShowModule.php36 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 DGedcomRepository.php32 use function str_contains; alias
121 if (str_contains($head[1], 'Family Tree Maker ')) {

12