Lines Matching refs:family

92         $family = Registry::familyFactory()->mapper($this->tree)($row);
94 if (!$family->canShow()) {
101 return $family->formatList();
107 return '<a href="' . e($family->url()) . '">' . $family->fullName() . '</a>';
175 ->map(static function (Family $family): array {
177 foreach ($family->children() as $child) {
184 'family' => $family,
260 foreach ($families as $family) {
262 … $top10[] = '<li><a href="' . e($family->url()) . '">' . $family->fullName() . '</a></li>';
264 $top10[] = '<a href="' . e($family->url()) . '">' . $family->fullName() . '</a>';
374 $family = Registry::familyFactory()->make($fam->family, $this->tree);
378 …if ($family !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->can…
383 'family' => $family,
408 $family = Registry::familyFactory()->make($fam->family, $this->tree);
414 if ($one && !in_array($fam->family, $dist, true)) {
415 …if ($family !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->can…
419 'family' => $family,
423 $dist[] = $fam->family;
425 …} elseif (!$one && $family !== null && $child1 !== null && $child2 !== null && $child1->canShow() …
429 'family' => $family,
469 $family = Registry::familyFactory()->make($fam->family, $this->tree);
473 …if ($family !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->can…
477 …$return .= ' <a href="' . e($family->url()) . '">[' . I18N::translate('View this family') . ']</a>…
634 ->map(static fn (Family $family): array => [
635 'family' => $family,
636 'count' => $family->numberOfChildren(),
1078 foreach ($drows as $family) {
1079 $rows[$family->family] = $family->age;
1082 foreach ($hrows as $family) {
1083 if (!isset($rows[$family->family])) {
1084 $rows[$family->family] = $family->age;
1088 foreach ($wrows as $family) {
1089 if (!isset($rows[$family->family])) {
1090 $rows[$family->family] = $family->age;
1091 } elseif ($rows[$family->family] > $family->age) {
1092 $rows[$family->family] = $family->age;
1105 $family = Registry::familyFactory()->make((string) $xref, $this->tree);
1107 return $family->formatList();
1116 $husb = $family->husband();
1117 $wife = $family->wife();
1125 if ($family->canShow()) {
1127 …$top10[] = '<li><a href="' . e($family->url()) . '">' . $family->fullName() . '</a> (' . $age . ')…
1129 … $top10[] = '<a href="' . e($family->url()) . '">' . $family->fullName() . '</a> (' . $age . ')';
1299 ->map(function (Family $family) use ($age_dir): array {
1300 $husb_birt_jd = $family->husband()->getBirthDate()->minimumJulianDay();
1301 $wife_birt_jd = $family->wife()->getBirthDate()->minimumJulianDay();
1310 'family' => $family,
1491 $family = Registry::familyFactory()->make($row->famid, $this->tree);
1497 if ($family !== null && $family->canShow()) {
1498 $result = $family->formatList();
1505 $result = '<a href="' . e($family->url()) . '">' . $person->fullName() . '</a>';