toString(); $hundred_years_ago = new Date(date('Y') - 100); $unique_indis = []; // Don't double-count indis with multiple names. $module = app(ModuleService::class)->findByComponent('chart', $tree, Auth::user())->first(function (ModuleInterface $module) { return $module instanceof RelationshipsChartModule; }); ?> getPreference('MAX_ALIVE_AGE'); // Inititialise chart data $deat_by_age = []; for ($age = 0; $age <= $max_age; $age++) { $deat_by_age[$age] = ''; } $birt_by_decade = []; $deat_by_decade = []; for ($year = 1550; $year < 2030; $year += 10) { $birt_by_decade[$year] = ''; $deat_by_decade[$year] = ''; } ?>
$individual) : ?> getAllDeathDates() ?> xref()]) && $age_at_death >= 0 && $age_at_death <= $max_age) : ?> getSex(); ?> xref()] = true ?>
getAllNames() as $num => $name) : ?> getPrimaryName()) : ?> getSexImage() ?>
getPrimaryParentsNames('parents details1', 'none') ?>
getAllBirthDates(); ?> $birth_date) : ?> display(true) ?>
gregorianYear() >= 1550 && $birth_dates[0]->gregorianYear() < 2030 && !isset($unique_indis[$individual->xref()])) : ?> gregorianYear() / 10) * 10] .= $individual->getSex() ?> getAllBirthPlaces() as $n => $birth_place) : ?> shortName(true) ?>
getNumberOfChildren()) ?> $death_date) : ?> display(true) ?>
gregorianYear() >= 1550 && $death_dates[0]->gregorianYear() < 2030 && !isset($unique_indis[$individual->xref()])) : ?> gregorianYear() / 10) * 10] .= $individual->getSex() ?> getAllDeathPlaces() as $n => $death_place) : ?> shortName(true) ?>
lastChangeTimestamp() ?>