Lines Matching refs:age_dir
793 * @param string $age_dir
799 …private function parentsQuery(string $type, string $age_dir, string $sex, bool $show_years): string argument
807 if ($age_dir !== 'ASC') {
808 $age_dir = 'DESC';
836 ->orderBy('age', $age_dir)
1007 * @param string $age_dir "ASC" or "DESC"
1012 private function ageOfMarriageQuery(string $type, string $age_dir, int $total): string argument
1096 if ($age_dir === 'DESC') {
1258 * @param string $age_dir
1263 private function ageBetweenSpousesQuery(string $age_dir, int $total): array argument
1282 if ($age_dir === 'DESC') {
1299 ->map(function (Family $family) use ($age_dir): array {
1303 if ($age_dir === 'DESC') {
1441 * @param string $age_dir "ASC" or "DESC"
1447 …private function marriageQuery(string $type, string $age_dir, string $sex, bool $show_years): stri… argument
1455 if ($age_dir !== 'ASC') {
1456 $age_dir = 'DESC';
1481 …xpression(DB::prefix('married.d_julianday2') . ' - ' . DB::prefix('birth.d_julianday1')), $age_dir)