record(); $tree = $individual->tree(); // Create a fake record, so we can extract the formatted NAME value from it. $fake_individual = Registry::individualFactory()->new( 'xref', "0 @xref@ INDI\n1 DEAT Y\n" . $fact->gedcom(), null, $tree ); $fake_individual->setPrimaryName(0); // Make sure we use the name from "1 NAME" $container_class = ''; if ($fact->isPendingDeletion()) { $container_class = 'wt-old'; } elseif ($fact->isPendingAddition()) { $container_class = 'wt-new'; } ?>
value()) ?>
gedcom(), $matches, PREG_SET_ORDER) ?> $match) : ?> make($fact->tag() . ':' . $tag) ?>
label() ?>
value($value, $fact->record()->tree()) ?>
$fact]) ?> $fact]) ?> canEdit()) : ?>