Lines Matching refs:xref
138 if ($row->xref !== null) {
139 $row->record = Registry::gedcomRecordFactory()->make($row->xref, $tree);
167 $xref = Validator::parsedBody($request)->string($type . '-xref', '');
168 $record = $this->getRecordForType($type, $xref, $tree);
243 'xref' => $record->xref(),
250 private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null argument
254 return Registry::individualFactory()->make($xref, $tree);
257 return Registry::familyFactory()->make($xref, $tree);
260 return Registry::sourceFactory()->make($xref, $tree);
263 return Registry::repositoryFactory()->make($xref, $tree);
266 return Registry::mediaFactory()->make($xref, $tree);