Lines Matching refs:fact
35 foreach ($family->facts(['HUSB'], false, $fam_access_level) as $fact) {
36 $found |= !$fact->isPendingDeletion();
37 $person = $fact->target();
40 if ($fact->isPendingAddition()) {
42 } elseif ($fact->isPendingDeletion()) {
72 foreach ($family->facts(['WIFE'], false, $fam_access_level) as $fact) {
73 $person = $fact->target();
75 $found |= !$fact->isPendingDeletion();
77 if ($fact->isPendingAddition()) {
79 } elseif ($fact->isPendingDeletion()) {
112 …ach ($family->facts(array_merge(Gedcom::MARRIAGE_EVENTS, Gedcom::DIVORCE_EVENTS), true) as $fact) {
113 $found |= !$fact->isPendingDeletion();
114 if ($fact->isPendingAddition()) {
116 } elseif ($fact->isPendingDeletion()) {
125 <span class="visually-hidden"><?= $fact->label() ?></span>
129 <span class="label"><?= $fact->label() ?></span>
131 … <span class="field"><?= $fact->date()->display() ?> — <?= $fact->place()->fullName() ?></span>
136 if (!$prev->isOK() && $fact->date()->isOK()) {
137 $prev = $fact->date();
159 foreach ($family->facts(['CHIL'], false, $fam_access_level) as $fact) {
160 $person = $fact->target();
163 if ($fact->isPendingAddition()) {
166 } elseif ($fact->isPendingDeletion()) {