Lines Matching refs:record
84 * @param GedcomRecord $record
88 public function share(GedcomRecord $record): string argument
90 if ($record instanceof Individual) {
91 $facts = $record->facts(static::INDIVIDUAL_EVENTS, true)
92 …->merge($record->spouseFamilies()->map(fn (Family $family): Collection => $family->facts(static::F…
93 } elseif ($record instanceof Family) {
94 $facts = $record->facts(static::FAMILY_EVENTS, true);
107 …route(static::class, ['tree' => $record->tree()->name(), 'xref' => $fact->record()->xref(), 'fact_…
112 … $url = route(static::class, ['tree' => $record->tree()->name(), 'xref' => $record->xref()]);
116 'record' => $record,
134 $record = Registry::gedcomRecordFactory()->make($xref, $tree);
135 $record = Auth::checkRecordAccess($record);
137 $fact = $record->facts()->first(fn (Fact $fact): bool => $fact->id() === $fact_id);
144 'SUMMARY' => strip_tags($record->fullName()) . ' — ' . $fact->label(),