Home
last modified time | relevance | path

Searched refs:in_array (Results 1 – 25 of 54) sorted by relevance

123

/webtrees/resources/views/admin/
H A Dtrees-preferences.phtml429 …ATIVES_EVENTS[]" type="checkbox" id="_BIRT_GCHI" value="_BIRT_GCHI" <?= in_array('_BIRT_GCHI', $re…
435 …ATIVES_EVENTS[]" type="checkbox" id="_BIRT_CHIL" value="_BIRT_CHIL" <?= in_array('_BIRT_CHIL', $re…
441 …ATIVES_EVENTS[]" type="checkbox" id="_BIRT_SIBL" value="_BIRT_SIBL" <?= in_array('_BIRT_SIBL', $re…
449 …ATIVES_EVENTS[]" type="checkbox" id="_MARR_GCHI" value="_MARR_GCHI" <?= in_array('_MARR_GCHI', $re…
455 …ATIVES_EVENTS[]" type="checkbox" id="_MARR_CHIL" value="_MARR_CHIL" <?= in_array('_MARR_CHIL', $re…
461 …ATIVES_EVENTS[]" type="checkbox" id="_MARR_SIBL" value="_MARR_SIBL" <?= in_array('_MARR_SIBL', $re…
467 …ATIVES_EVENTS[]" type="checkbox" id="_MARR_PARE" value="_MARR_PARE" <?= in_array('_MARR_PARE', $re…
475 …ATIVES_EVENTS[]" type="checkbox" id="_DEAT_GCHI" value="_DEAT_GCHI" <?= in_array('_DEAT_GCHI', $re…
481 …ATIVES_EVENTS[]" type="checkbox" id="_DEAT_CHIL" value="_DEAT_CHIL" <?= in_array('_DEAT_CHIL', $re…
487 …ATIVES_EVENTS[]" type="checkbox" id="_DEAT_SIBL" value="_DEAT_SIBL" <?= in_array('_DEAT_SIBL', $re…
[all …]
/webtrees/app/
H A DRelationship.php28 use function in_array; alias
165 if (in_array($patterns[0] ?? '', $relationships, true)) {
209 if (!in_array($patterns[$generations], $relationships, true)) {
465 while ($n < $count && in_array($patterns[$n], Relationship::PARENTS, true)) {
475 if (!in_array($patterns[$n], Relationship::SIBLINGS, true)) {
481 if (!in_array($patterns[$descendants], Relationship::CHILDREN, true)) {
H A DSite.php22 use function in_array; alias
128 if (in_array($setting_name, self::SENSITIVE_PREFERENCES, true)) {
132 if (!in_array($setting_name, self::UNIMPORTANT_PREFERENCES, true)) {
H A DValidator.php31 use function in_array; alias
146 …$this->rules[] = static fn (int|string|null $value): int|string|null => in_array($value, $values, …
254 if (in_array($value, ['1', 'on', true], true)) {
258 if (in_array($value, ['0', '', false], true)) {
H A DGedcomRecord.php41 use function in_array; alias
630 … if (($filter === [] || in_array($fact->tag(), $filter, true)) && $fact->canShow($access_level)) {
791 … $update_chan = $update_chan && in_array(static::RECORD_TYPE, Gedcom::RECORDS_WITH_CHAN, true);
872 … $update_chan = $update_chan && in_array(static::RECORD_TYPE, Gedcom::RECORDS_WITH_CHAN, true);
1076 if ($this->pending !== null && !in_array($gedcom_fact, $pending_facts, true)) {
1082 if (!in_array($pending_fact, $gedcom_facts, true)) {
H A DIndividual.php31 use function in_array; alias
176 if ($n % 2 === 0 && in_array($target, $cache[$n], true)) {
188 … if ($individual instanceof self && !in_array($individual, $cache[$n - 2], true)) {
193 if (in_array($target, $cache[$n], true)) {
202 … if ($family instanceof Family && !in_array($family, $cache[$n - 2], true)) {
H A DI18N.php37 use function in_array; alias
567 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
583 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
/webtrees/resources/views/
H A Dchart-box.phtml92 return !in_array($fact->tag(), $exclude, true);
163 if (!in_array($birttag, $opt_tags, true)) {
173 if (!in_array($tag, Gedcom::DEATH_EVENTS, true)) {
186 if (in_array($deattag, $opt_tags, true)) {
/webtrees/app/Factories/
H A DSlugFactory.php27 use function in_array; alias
44 … if ($ids !== false && in_array('Any-Latin', $ids, true) && in_array('Latin-ASCII', $ids, true)) {
/webtrees/app/Module/
H A DStatisticsChartModule.php42 use function in_array; alias
481 … if (!in_array($row->f_husb, $indi, true) && !in_array($row->f_wife, $indi, true)) {
496 … if (!in_array($row->f_husb, $indi, true) && !in_array($row->f_wife, $indi, true)) {
659 if (!in_array($row->d_gid, $indi, true)) {
673 if (!in_array($row->d_gid, $indi, true)) {
691 if (!in_array($row->d_gid, $indi, true)) {
H A DRelationshipsChartModule.php50 use function in_array; alias
515 …if ($ancestors === [] || in_array($row->l_from, $ancestors, true) && !in_array($row->l_to, $exclud…
547 if (in_array($tmp, $excluded, true)) {
621 if (!in_array($parent, $ancestors, true)) {
H A DModuleThemeTrait.php49 use function in_array; alias
84 if (!in_array($birttag, $opt_tags, true)) {
94 if (!in_array($tag, Gedcom::DEATH_EVENTS, true)) {
107 if (in_array($deattag, $opt_tags, true)) {
H A DStoriesModule.php36 use function in_array; alias
128 … if ($languages === '' || in_array(I18N::languageTag(), explode(',', $languages), true)) {
405 …->filter(static fn (object $story): bool => $story->languages === '' || in_array(I18N::languageTag…
H A DFrequentlyAskedQuestionsModule.php36 use function in_array; alias
386 …->filter(static fn (object $faq): bool => $faq->languages === '' || in_array(I18N::languageTag(), …
446 …->filter(static fn (object $faq): bool => $faq->languages === '' || in_array($language, explode(',…
/webtrees/tests/app/Encodings/
H A DAnselTest.php33 use function in_array; alias
151 if (!in_array($chars[1], $ansel_combining_characters, true)) {
154 … if (count($chars) >= 3 && !in_array($chars[2], $ansel_combining_characters, true)) {
/webtrees/app/Services/
H A DMessageService.php33 use function in_array; alias
154 return in_array($user->getPreference(UserInterface::PREF_CONTACT_METHOD), [
171 return in_array($user->getPreference(UserInterface::PREF_CONTACT_METHOD), [
/webtrees/app/Http/RequestHandlers/
H A DMergeFactsAction.php36 use function in_array; alias
153 if (in_array($fact->id(), $keep1, true)) {
159 if (in_array($fact->id(), $keep2, true)) {
H A DTreePreferencesPage.php42 use function in_array; alias
141 … ->filter(static fn (string $value, string $key): bool => !in_array($key, $ignore_facts, true))
149 … ->filter(static fn (string $value, string $key): bool => !in_array($key, $ignore_facts, true))
H A DDeletePath.php35 use function in_array; alias
73 if (in_array($normalized_path, self::PROTECTED_PATHS, true)) {
H A DEditRawRecordAction.php32 use function in_array; alias
76 if (!in_array($fact->id(), $fact_ids, true)) {
/webtrees/app/Elements/
H A DAgeAtEvent.php25 use function in_array; alias
69 if (in_array($upper, self::KEYWORDS)) {
H A DNamePersonal.php27 use function in_array; alias
94 … if ($subtags === null && in_array(I18N::languageTag(), static::SURNAME_FIRST_LANGUAGES, true)) {
/webtrees/app/Http/Middleware/
H A DCheckCsrf.php35 use function in_array; alias
59 if (!in_array($route->name, self::EXCLUDE_ROUTES, true)) {
H A DCompressResponse.php32 use function in_array; alias
142 return in_array($content_type, static::MIME_TYPES, true);
/webtrees/app/SurnameTradition/
H A DDefaultSurnameTradition.php31 use function in_array; alias
163 …->first(fn (Fact $fact): bool => in_array($fact->attribute('TYPE'), ['', NameType::VALUE_BIRTH, Na…

123