Lines Matching refs:list

164     private array $list = [];  variable in Fisharebest\\Webtrees\\Report\\ReportParserGenerate
2636 private function addDescendancy(&$list, $pid, $parents = false, $generations = -1): void argument
2642 if (!isset($list[$pid])) {
2643 $list[$pid] = $person;
2645 if (!isset($list[$pid]->generation)) {
2646 $list[$pid]->generation = 0;
2653 $list[$husband->xref()] = $husband;
2654 if (isset($list[$pid]->generation)) {
2655 $list[$husband->xref()]->generation = $list[$pid]->generation - 1;
2657 $list[$husband->xref()]->generation = 1;
2661 $list[$wife->xref()] = $wife;
2662 if (isset($list[$pid]->generation)) {
2663 $list[$wife->xref()]->generation = $list[$pid]->generation - 1;
2665 $list[$wife->xref()]->generation = 1;
2674 $list[$child->xref()] = $child;
2676 if (isset($list[$pid]->generation)) {
2677 $list[$child->xref()]->generation = $list[$pid]->generation + 1;
2679 $list[$child->xref()]->generation = 2;
2683 if ($generations == -1 || $list[$pid]->generation + 1 < $generations) {
2685 …$this->addDescendancy($list, $child->xref(), $parents, $generations); // recurse on the childs fam…
2701 …private function addAncestors(array &$list, string $pid, bool $children = false, int $generations … argument
2704 $list[$pid]->generation = 1;
2715 $list[$husband->xref()] = $husband;
2716 $list[$husband->xref()]->generation = $list[$id]->generation + 1;
2719 $list[$wife->xref()] = $wife;
2720 $list[$wife->xref()]->generation = $list[$id]->generation + 1;
2722 if ($generations == -1 || $list[$id]->generation + 1 < $generations) {
2732 $list[$child->xref()] = $child;
2733 $list[$child->xref()]->generation = $list[$id]->generation ?? 1;