Lines Matching refs:show_years
795 * @param bool $show_years
799 …private function parentsQuery(string $type, string $age_dir, string $sex, bool $show_years): string argument
863 if ($show_years) {
898 * @param string $show_years
902 public function youngestMotherAge(string $show_years = ''): string argument
904 return $this->parentsQuery('age', 'ASC', 'F', (bool) $show_years);
930 * @param string $show_years
934 public function oldestMotherAge(string $show_years = ''): string argument
936 return $this->parentsQuery('age', 'DESC', 'F', (bool) $show_years);
962 * @param string $show_years
966 public function youngestFatherAge(string $show_years = ''): string argument
968 return $this->parentsQuery('age', 'ASC', 'M', (bool) $show_years);
994 * @param string $show_years
998 public function oldestFatherAge(string $show_years = ''): string argument
1000 return $this->parentsQuery('age', 'DESC', 'M', (bool) $show_years);
1443 * @param bool $show_years
1447 …private function marriageQuery(string $type, string $age_dir, string $sex, bool $show_years): stri… argument
1511 if ($show_years) {
1546 * @param string $show_years
1550 public function youngestMarriageFemaleAge(string $show_years = ''): string argument
1552 return $this->marriageQuery('age', 'ASC', 'F', (bool) $show_years);
1578 * @param string $show_years
1582 public function oldestMarriageFemaleAge(string $show_years = ''): string argument
1584 return $this->marriageQuery('age', 'DESC', 'F', (bool) $show_years);
1610 * @param string $show_years
1614 public function youngestMarriageMaleAge(string $show_years = ''): string argument
1616 return $this->marriageQuery('age', 'ASC', 'M', (bool) $show_years);
1642 * @param string $show_years
1646 public function oldestMarriageMaleAge(string $show_years = ''): string argument
1648 return $this->marriageQuery('age', 'DESC', 'M', (bool) $show_years);