facts(['HUSB'], false, $fam_access_level) as $fact) { $found |= !$fact->isPendingDeletion(); $person = $fact->target(); if ($person instanceof Individual) { $row_class = 'wt-sex-' . strtolower($person->sex()); if ($fact->isPendingAddition()) { $row_class .= ' wt-new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' wt-old'; } ?> canEdit()) { ?> facts(['WIFE'], false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $found |= !$fact->isPendingDeletion(); $row_class = 'wt-sex-' . strtolower($person->sex()); if ($fact->isPendingAddition()) { $row_class .= ' wt-new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' wt-old'; } ?> canEdit()) { ?> facts(array_merge(Gedcom::MARRIAGE_EVENTS, Gedcom::DIVORCE_EVENTS), true) as $fact) { $found |= !$fact->isPendingDeletion(); if ($fact->isPendingAddition()) { $row_class = 'wt-new'; } elseif ($fact->isPendingDeletion()) { $row_class = 'wt-old'; } else { $row_class = ''; } ?> isOK() && $fact->date()->isOK()) { $prev = $fact->date(); } } if (!$found && $family->canShow() && $family->canEdit()) { ?> facts(['CHIL'], false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $row_class = 'wt-sex-' . strtolower($person->sex()); if ($fact->isPendingAddition()) { $child_number++; $row_class .= ' new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' old'; } else { $child_number++; } $next = new Date(''); foreach ($person->facts(Gedcom::BIRTH_EVENTS, true) as $bfact) { if ($bfact->date()->isOK()) { $next = $bfact->date(); break; } } ?> canEdit()) : ?>
' : '' ?> get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?> $person]) ?>
' : '' ?> get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?> $person]) ?>
label() ?> label() ?>date()->display() ?> — place()->fullName() ?>
isOK() && $next->isOK()) : ?>
maximumJulianDay() - $prev->minimumJulianDay(); ?> 1 && $days > 1 && $days < 240) : ?> = 24) : ?>
get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
$person]) ?>
| | children()->count() > 1) : ?>