Lines Matching refs:generations
154 * @param int $generations
158 public function getPersonLi(Individual $person, int $generations = 0): string argument
160 $icon = $generations > 0 ? 'icon-minus' : 'icon-plus';
162 $spouses = $generations > 0 ? $this->loadSpouses($person, 0) : '';
185 * @param int $generations
189 public function getFamilyLi(Family $family, Individual $person, int $generations = 0): string argument
213 '<div>' . $this->loadChildren($family, $generations) . '</div>' .
221 * @param int $generations
225 public function loadSpouses(Individual $individual, int $generations): string argument
230 $out .= $this->getFamilyLi($family, $individual, $generations - 1);
244 * @param int $generations
248 public function loadChildren(Family $family, int $generations): string argument
256 $out .= $this->getPersonLi($child, $generations - 1);