/webtrees/resources/views/admin/ |
H A D | trees-preferences.phtml | 429 …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 D | Relationship.php | 28 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 D | Site.php | 22 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 D | Validator.php | 31 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 D | GedcomRecord.php | 41 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 D | Individual.php | 31 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 D | I18N.php | 37 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 D | chart-box.phtml | 92 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 D | SlugFactory.php | 27 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 D | StatisticsChartModule.php | 42 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 D | RelationshipsChartModule.php | 50 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 D | ModuleThemeTrait.php | 49 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 D | StoriesModule.php | 36 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…
|
/webtrees/tests/app/Encodings/ |
H A D | AnselTest.php | 33 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/Http/RequestHandlers/ |
H A D | MergeFactsAction.php | 36 use function in_array; alias 153 if (in_array($fact->id(), $keep1, true)) { 159 if (in_array($fact->id(), $keep2, true)) {
|
H A D | TreePreferencesPage.php | 42 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 D | EditRawRecordAction.php | 32 use function in_array; alias 76 if (!in_array($fact->id(), $fact_ids, true)) {
|
H A D | DeletePath.php | 35 use function in_array; alias 73 if (in_array($normalized_path, self::PROTECTED_PATHS, true)) {
|
H A D | ContactPage.php | 33 use function in_array; alias 81 …if ($to_user === null || !in_array($to_user, $this->message_service->validContacts($tree), false))…
|
/webtrees/app/Services/ |
H A D | MessageService.php | 33 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/Elements/ |
H A D | AgeAtEvent.php | 25 use function in_array; alias 69 if (in_array($upper, self::KEYWORDS)) {
|
H A D | NamePersonal.php | 27 use function in_array; alias 94 … if ($subtags === null && in_array(I18N::languageTag(), static::SURNAME_FIRST_LANGUAGES, true)) {
|
/webtrees/app/Http/Middleware/ |
H A D | CheckCsrf.php | 35 use function in_array; alias 59 if (!in_array($route->name, self::EXCLUDE_ROUTES, true)) {
|
H A D | CompressResponse.php | 32 use function in_array; alias 142 return in_array($content_type, static::MIME_TYPES, true);
|
/webtrees/app/SurnameTradition/ |
H A D | DefaultSurnameTradition.php | 31 use function in_array; alias 163 …->first(fn (Fact $fact): bool => in_array($fact->attribute('TYPE'), ['', NameType::VALUE_BIRTH, Na…
|