Lines Matching refs:fact
131 …$facts = $record->facts(['_PRIM'])->filter(static fn (Fact $fact): bool => !$fact->isPendingDeleti…
133 foreach ($facts as $fact) {
134 $primary = strtoupper($fact->value()) !== 'N';
140 $record->deleteFact($fact->id(), false);
158 foreach ($facts as $fact) {
159 if ($fact->tag() !== 'INDI:OBJE') {
160 $facts1->push($fact);
161 } elseif ($fact->value() !== '@' . $xref . '@') {
162 $facts3->push($fact);
164 $facts2->push($fact);
166 $facts4->push($fact);
172 …$gedcom = $sorted_facts->map(static fn (Fact $fact): string => "\n" . $fact->gedcom())->implode(''…