Searched refs:xrefs (Results 1 – 15 of 15) sorted by relevance
/webtrees/app/Module/ |
H A D | LifespansChartModule.php | 148 $xrefs = Validator::queryParams($request)->string('xrefs', ''); 151 if ($xrefs === '') { 154 $xrefs = Validator::queryParams($request)->array('xrefs'); 157 $xrefs = []; 160 $xrefs = explode(self::SEPARATOR, $xrefs); 173 $xrefs = array_unique($xrefs); 178 $xrefs[] = $addxref; 180 $xrefs = array_merge($xrefs, $this->closeFamily($individual)); 188 $xrefs = array_intersect($date_xrefs, $place_xrefs); 190 $xrefs = $this->findIndividualsByDate($start_date, $end_date, $tree); [all …]
|
H A D | TimelineChartModule.php | 138 $xrefs = Validator::queryParams($request)->array('xrefs'); 140 $xrefs = array_filter(array_unique($xrefs)); 144 $xrefs[] = Validator::parsedBody($request)->isXref()->string('add', ''); 149 'xrefs' => $xrefs, 156 $individuals = (new Collection($xrefs)) 177 …c fn (string $xref): Individual|null => Registry::individualFactory()->make($xref, $tree), $xrefs); 184 return $this->chart($tree, $xrefs, $scale); 195 'xrefs' => $xrefs, 201 'xrefs' => $xrefs, 208 'xrefs' => $xrefs, [all …]
|
H A D | ClippingsCartModule.php | 240 $xrefs = array_keys($cart[$tree->name()] ?? []); 241 $xrefs = array_map('strval', $xrefs); // PHP converts numeric keys to integers. 261 foreach ($xrefs as $xref) { 279 if (!in_array($match[1], $xrefs, true)) { 352 $xrefs = array_keys($cart[$tree->name()] ?? []); 353 $xrefs = array_map('strval', $xrefs); // PHP converts numeric keys to integers. 356 … (string $xref): GedcomRecord|null => Registry::gedcomRecordFactory()->make($xref, $tree), $xrefs);
|
/webtrees/app/Services/ |
H A D | AdminService.php | 126 …fn (string $xrefs): array => array_map(static fn (string $xref): Source => Registry::sourceFactory… 130 $distinct_order_by = static function (string $xrefs): string { 131 $array = explode(',', $xrefs); 152 …string $xrefs): array => array_map(static fn (string $xref): Individual => Registry::individualFac… 163 …fn (string $xrefs): array => array_map(static fn (string $xref): Family => Registry::familyFactory… 174 … fn (string $xrefs): array => array_map(static fn (string $xref): Media => Registry::mediaFactory(…
|
H A D | PendingChangesService.php | 90 $xrefs = $this->pendingXrefs($tree); 96 ->whereIn('xref', $xrefs->slice(0, $n)) 143 $xrefs = $this->pendingXrefs($tree); 148 ->whereIn('xref', $xrefs->slice(0, $n))
|
H A D | LinkedRecordService.php | 70 $xrefs = DB::table('link') 77 …return $xrefs->map(static fn (string $xref) => Registry::gedcomRecordFactory()->make($xref, $recor…
|
/webtrees/resources/views/admin/ |
H A D | trees-renumber.phtml | 32 … which use the same “XREF” as another family tree.', count($xrefs), I18N::number(count($xrefs))) ?> 35 <?php if (!empty($xrefs)) : ?>
|
H A D | trees-merge.phtml | 25 <?php if ($xrefs > 0) : ?> 30 …he two family trees have %1$s records which use the same “XREF”.', $xrefs, I18N::number($xrefs)) ?>
|
/webtrees/app/Http/RequestHandlers/ |
H A D | MergeTreesPage.php | 68 $xrefs = $this->admin_service->countCommonXrefs($tree1, $tree2); 70 $xrefs = 0; 80 'xrefs' => $xrefs,
|
H A D | TreePrivacyAction.php | 55 $xrefs = Validator::parsedBody($request)->array('xref'); 59 $count_xrefs = count($xrefs); 68 foreach ($xrefs as $n => $xref) {
|
H A D | RenumberTreePage.php | 59 $xrefs = $this->admin_service->duplicateXrefs($tree); 67 'xrefs' => $xrefs,
|
H A D | PendingChanges.php | 63 $xrefs = $this->pending_changes_service->pendingXrefs($tree); 69 'count' => $xrefs->count(),
|
H A D | RenumberTreeAction.php | 72 $xrefs = $this->admin_service->duplicateXrefs($tree); 74 foreach ($xrefs as $old_xref => $type) { 547 unset($xrefs[$old_xref]);
|
H A D | CheckTree.php | 150 $xrefs = []; 161 $xrefs[strtoupper($row->xref)] = $row->xref; 224 $xref2 = $xrefs[strtoupper($xref1)] ?? null;
|
/webtrees/resources/views/modules/lifespans-chart/ |
H A D | page.phtml | 23 <?php foreach ($xrefs as $xref) : ?>
|