Home
last modified time | relevance | path

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

12

/webtrees/app/Services/
H A DGedcomEditService.php35 use function array_filter; alias
238 …$subtags = array_filter($subtags, static fn (string $v, string $k) => !str_ends_with($v, ':1') || …
243 …$subtags = array_filter($subtags, fn (string $subtag): bool => !$this->isHiddenTag($record->tag() …
247 $subtags = array_filter($subtags, $fn_hidden);
335 $preferences = array_filter(Gedcom::HIDDEN_TAGS, $fn_hide, ARRAY_FILTER_USE_KEY);
H A DRateLimitService.php27 use function array_filter; alias
107 $timestamps = array_filter(explode(',', $history));
111 $in_window = array_filter($timestamps, $filter);
H A DMapDataService.php31 use function array_filter; alias
127 …->map(static fn (object $row): string => implode(Gedcom::PLACE_SEPARATOR, array_filter((array) $ro…
150 …->map(static fn (object $row): string => implode(Gedcom::PLACE_SEPARATOR, array_filter((array) $ro…
H A DMessageService.php32 use function array_filter; alias
80 return array_filter($contacts);
/webtrees/resources/views/
H A Dfact-add-new.phtml25 … $quick_facts = array_filter(explode(',', $record->tree()->getPreference('INDI_FACTS_QUICK')));
64 … $quick_facts = array_filter(explode(',', $record->tree()->getPreference('FAM_FACTS_QUICK')));
82 $quick_facts = array_filter($quick_facts, $filter_fn);
/webtrees/app/Module/
H A DTimelineChartModule.php140 $xrefs = array_filter(array_unique($xrefs));
179 …$individuals = array_filter($individuals, static fn (Individual|null $individual): bool => $indivi…
237 …$individuals = array_filter($individuals, static fn (Individual|null $individual): bool => $indivi…
H A DLifespansChartModule.php40 use function array_filter; alias
197 $xrefs = array_filter($xrefs, static function (string $xref) use ($tree): bool {
248 …$individuals = array_filter($individuals, static fn (Individual|null $individual): bool => $indivi…
H A DSlideShowModule.php34 use function array_filter; alias
112 $filter_types = array_filter($filter_types);
302 $formats = array_filter(Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->values());
H A DAbstractIndividualListModule.php41 use function array_filter; alias
335 $all_surnames = array_filter($all_surnames, $filter, ARRAY_FILTER_USE_KEY);
423 $tmp = array_filter(
/webtrees/app/Http/RequestHandlers/
H A DTomSelectLocation.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectFamily.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectRepository.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectSource.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectNote.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectIndividual.php28 use function array_filter; alias
66 $search = array_filter(explode(' ', $query));
H A DTomSelectSubmission.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectMediaObject.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectSubmitter.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DTomSelectSharedNote.php28 use function array_filter; alias
67 $search = array_filter(explode(' ', $query));
H A DMapDataImportAction.php37 use function array_filter; alias
164 $places = array_filter($places, $callback);
H A DSearchAdvancedPage.php35 use function array_filter; alias
155 $search_fields = array_filter($fields, static fn (string $x): bool => $x !== '');
/webtrees/app/SurnameTradition/
H A DDefaultSurnameTradition.php27 use function array_filter; alias
136 $parts = array_filter($parts);
/webtrees/app/Factories/
H A DRouteFactory.php31 use function array_filter; alias
73 …$parameters = array_filter($parameters, static fn (string $key): bool => !str_contains($route->pat…
/webtrees/app/
H A DMedia.php26 use function array_filter; alias
120 $names = array_filter($names);
H A DFamily.php323 …$husb_names = array_filter($this->husb->getAllNames(), static fn (array $x): bool => $x['type'] !=…
339 …$wife_names = array_filter($this->wife->getAllNames(), static fn (array $x): bool => $x['type'] !=…

12