diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-11-12 06:07:05 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-11-18 09:29:38 +0000 |
| commit | 30158ae76837ce51811d3e0fca2ea5852182f42e (patch) | |
| tree | db9dcb7c8ac33da99511227a61b30e6ac49ffdfb /resources/views/modules/relatives/family.phtml | |
| parent | 3a136367baf551e4fb2b2b7afbc3e7e870b52568 (diff) | |
| download | webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.tar.gz webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.tar.bz2 webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.zip | |
Rename GedcomRecord::getFacts() to facts()
Diffstat (limited to 'resources/views/modules/relatives/family.phtml')
| -rw-r--r-- | resources/views/modules/relatives/family.phtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml index 07fd4e4d73..0c8c20348d 100644 --- a/resources/views/modules/relatives/family.phtml +++ b/resources/views/modules/relatives/family.phtml @@ -14,7 +14,7 @@ <tbody> <?php $found = false; - foreach ($family->getFacts('HUSB', false, $fam_access_level) as $fact) { + foreach ($family->facts('HUSB', false, $fam_access_level) as $fact) { $found |= !$fact->isPendingDeletion(); $person = $fact->target(); if ($person instanceof Individual) { @@ -51,7 +51,7 @@ } $found = false; - foreach ($family->getFacts('WIFE', false, $fam_access_level) as $fact) { + foreach ($family->facts('WIFE', false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $found |= !$fact->isPendingDeletion(); @@ -91,7 +91,7 @@ ///// MARR ///// $found = false; $prev = new Date(''); - foreach ($family->getFacts(WT_EVENTS_MARR . '|' . WT_EVENTS_DIV, true) as $fact) { + foreach ($family->facts(WT_EVENTS_MARR . '|' . WT_EVENTS_DIV, true) as $fact) { $found |= !$fact->isPendingDeletion(); if ($fact->isPendingAddition()) { $row_class = 'new'; @@ -132,7 +132,7 @@ ///// CHIL ///// $child_number = 0; - foreach ($family->getFacts('CHIL', false, $fam_access_level) as $fact) { + foreach ($family->facts('CHIL', false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $row_class = 'wt-gender-' . $person->getSex(); @@ -145,7 +145,7 @@ $child_number++; } $next = new Date(''); - foreach ($person->getFacts(WT_EVENTS_BIRT, true) as $bfact) { + foreach ($person->facts(WT_EVENTS_BIRT, true) as $bfact) { if ($bfact->date()->isOK()) { $next = $bfact->date(); break; |
