Lines Matching refs:xref
136 if ($row->xref !== null) {
137 $row->record = Registry::gedcomRecordFactory()->make($row->xref, $tree);
165 $xref = Validator::parsedBody($request)->string($type . '-xref', '');
166 $record = $this->getRecordForType($type, $xref, $tree);
239 'xref' => $record->xref(),
246 private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null argument
250 return Registry::individualFactory()->make($xref, $tree);
253 return Registry::familyFactory()->make($xref, $tree);
256 return Registry::sourceFactory()->make($xref, $tree);
259 return Registry::repositoryFactory()->make($xref, $tree);
262 return Registry::mediaFactory()->make($xref, $tree);