/webtrees/app/Services/ |
H A D | AdminService.php | 41 use function array_map; alias 126 …->map(static fn (string $xrefs): array => array_map(static fn (string $xref): Source => Registry::… 152 …->map(static fn (string $xrefs): array => array_map(static fn (string $xref): Individual => Regist… 163 …->map(static fn (string $xrefs): array => array_map(static fn (string $xref): Family => Registry::… 174 …->map(static fn (string $xrefs): array => array_map(static fn (string $xref): Media => Registry::m…
|
H A D | ServerCheckService.php | 27 use function array_map; alias 165 …$disable_functions = array_map(static fn (string $func): string => strtolower(trim($func)), $disab…
|
H A D | GedcomImportService.php | 46 use function array_map; alias 557 $rows = array_intersect_key($rows, array_unique(array_map('serialize', $rows))); 612 $rows = array_intersect_key($rows, array_unique(array_map('serialize', $rows)));
|
/webtrees/app/Factories/ |
H A D | RouteFactory.php | 32 use function array_map; alias 65 $parameters = array_map(static fn ($var) => is_bool($var) ? (int) $var : $var, $parameters); 68 $url_parameters = array_map(static fn ($var) => $var === '' ? null : $var, $parameters);
|
/webtrees/tests/feature/ |
H A D | IndividualListTest.php | 31 use function array_map; alias 76 self::assertEquals(['A', 'C', 'D', 'Æ'], array_map(rawurldecode(...), $matches[1])); 83 self::assertEquals(['A', 'C', 'D', 'Å', 'Æ'], array_map(rawurldecode(...), $matches[1])); 90 self::assertEquals(['A', 'C', 'CS', 'DZ', 'Æ'], array_map(rawurldecode(...), $matches[1]));
|
/webtrees/app/Http/RequestHandlers/ |
H A D | SearchAdvancedPage.php | 38 use function array_map; alias 153 …$fields = array_map(static fn (string $x): string => preg_replace('/^\s+|\s+$/uD', '', $x), $field… 161 …$message = 'Advanced: ' . implode(', ', array_map($fn, array_keys($search_fields), $search_fields)…
|
H A D | FamilyPage.php | 36 use function array_map; alias 154 $meta_facts = array_map(static fn (string $x): string => strip_tags($x), $meta_facts); 155 $meta_facts = array_map(static fn (string $x): string => trim($x), $meta_facts);
|
H A D | IndividualPage.php | 44 use function array_map; alias 226 $meta_facts = array_map(static fn (string $x): string => strip_tags($x), $meta_facts); 227 $meta_facts = array_map(static fn (string $x): string => trim($x), $meta_facts);
|
H A D | MapDataExportCSV.php | 31 use function array_map; alias 130 $places = array_map(fn (object $place): array => array_merge(
|
/webtrees/app/Module/ |
H A D | IndividualMetadataModule.php | 27 use function array_map; alias 112 …return new Collection(array_map(static fn (string $tag): string => 'INDI:' . $tag, static::HANDLED…
|
H A D | AbstractIndividualListModule.php | 44 use function array_map; alias 210 …$variants = array_map(static fn (string $x): string => $x === '' ? I18N::translate('No surname') :… 372 … $count = array_sum(array_map(static fn (array $x): int => array_sum($x), $all_surnames)); 380 … $all_surnames = array_values(array_map(static fn ($x): array => array_keys($x), $all_surnames));
|
H A D | TimelineChartModule.php | 177 …$individuals = array_map(static fn (string $xref): Individual|null => Registry::individualFactory(… 235 …$individuals = array_map(static fn (string $xref): Individual|null => Registry::individualFactory(…
|
H A D | ClippingsCartModule.php | 60 use function array_map; alias 241 $xrefs = array_map('strval', $xrefs); // PHP converts numeric keys to integers. 353 $xrefs = array_map('strval', $xrefs); // PHP converts numeric keys to integers. 356 …$records = array_map(static fn (string $xref): GedcomRecord|null => Registry::gedcomRecordFactory(…
|
/webtrees/app/Encodings/ |
H A D | AbstractEncoding.php | 23 use function array_map; alias 56 $chars = array_map(static function (string $char) use ($utf8): string {
|
/webtrees/resources/views/lists/ |
H A D | surnames-tag-cloud.phtml | 19 $maximum = max(array_map(static fn (array $x): int => max($x), $surnames)); 20 $minimum = min(array_map(static fn (array $x): int => min($x), $surnames));
|
/webtrees/app/Statistics/Service/ |
H A D | ColorService.php | 22 use function array_map; alias 91 …return array_map(static fn (string $hex): int => (int) hexdec($hex), str_split(ltrim($hex, '#'), 2…
|
/webtrees/app/ |
H A D | Container.php | 29 use function array_map; alias 88 $parameters = array_map(self::makeParameter(...), $constructor->getParameters());
|
H A D | Session.php | 25 use function array_map; alias 72 …$path = implode('/', array_map(static fn (string $x): string => rawurlencode($x), explode('/', $pa…
|
H A D | GedcomRecord.php | 33 use function array_map; alias 625 $filter = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, $filter); 645 … $subtags = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, array_keys($subtags));
|
/webtrees/resources/views/ |
H A D | fact-add-new.phtml | 88 $quick_facts = array_combine($quick_facts, array_map($label_fn, $quick_facts)); 89 $add_facts = array_combine($add_facts, array_map($label_fn, $add_facts));
|
/webtrees/app/SurnameTradition/ |
H A D | DefaultSurnameTradition.php | 29 use function array_map; alias 138 $parts = array_map(
|
/webtrees/app/Elements/ |
H A D | EventsRecorded.php | 27 use function array_map; alias 160 $events = array_map(static function (string $tag): string {
|
H A D | AbstractElement.php | 29 use function array_map; alias 164 $values = array_map(static fn (string $x): string => strip_tags($x), $values);
|
/webtrees/app/CommonMark/ |
H A D | CensusTableContinueParser.php | 33 use function array_map; alias 95 $cells = array_map($callback, $cells);
|
/webtrees/app/Statistics/Repository/ |
H A D | EventRepository.php | 37 use function array_map; alias 206 $no_facts = array_map(
|