Home
last modified time | relevance | path

Searched refs:sex (Results 1 – 25 of 164) sorted by relevance

1234567

/webtrees/app/Census/
H A DAbstractCensusColumnCondition.php75 $sex = $individual->sex();
79 return $this->conditionChild($sex);
82 return $this->conditionSingle($sex);
86 return $this->conditionDivorced($sex);
91 return $this->conditionWidowed($sex);
94 return $this->conditionMarried($sex);
114 * @param string $sex
118 private function conditionChild(string $sex): string argument
120 if ($sex === 'F') {
130 * @param string $sex
[all …]
/webtrees/app/Services/
H A DIndividualFactsService.php479 switch ($child->sex()) {
515 …acts[] = $this->convertEvent($fact, $birth_of_a_grandchild1[$fact->tag()], $fact->record()->sex());
518 …acts[] = $this->convertEvent($fact, $birth_of_a_grandchild2[$fact->tag()], $fact->record()->sex());
521 …facts[] = $this->convertEvent($fact, $birth_of_a_grandchild[$fact->tag()], $fact->record()->sex());
526 … $facts[] = $this->convertEvent($fact, $birth_of_a_sibling[$fact->tag()], $fact->record()->sex());
529 …cts[] = $this->convertEvent($fact, $birth_of_a_half_sibling[$fact->tag()], $fact->record()->sex());
532 … $facts[] = $this->convertEvent($fact, $birth_of_a_child[$fact->tag()], $fact->record()->sex());
546 …acts[] = $this->convertEvent($fact, $death_of_a_grandchild1[$fact->tag()], $fact->record()->sex());
549 …acts[] = $this->convertEvent($fact, $death_of_a_grandchild2[$fact->tag()], $fact->record()->sex());
552 …facts[] = $this->convertEvent($fact, $death_of_a_grandchild[$fact->tag()], $fact->record()->sex());
[all …]
/webtrees/resources/css/
H A Dfab.css26 --sex-f-bg: #ffdddd;
27 --sex-f-fg: #ff8888;
28 --sex-m-bg: #ddddff;
29 --sex-m-fg: #8888ff;
30 --sex-u-bg: #ddffdd;
31 --sex-u-fg: #88ff88;
32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
36 /* Override Bootstrap format --sex-u-bg: #ddffdd;
37 --sex-u-fg: #88ff88;
[all …]
H A Dwebtrees.css26 --sex-f-bg: #e9daf1;
27 --sex-f-fg: #ff2080;
28 --sex-m-bg: #edf7fd;
29 --sex-m-fg: #81a9cb;
30 --sex-u-bg: #cceecc;
31 --sex-u-fg: #559955;
32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
537 background: var(--sex-f-bg);
538 border: solid var(--sex-f-fg) thin;
[all …]
H A Dxenea.css26 --sex-f-bg: #fff0f0;
27 --sex-f-fg: #ff2080;
28 --sex-m-bg: #f0f9ff;
29 --sex-m-fg: #84beff;
30 --sex-u-bg: #ffffff;
31 --sex-u-fg: #008080;
32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
530 background: var(--sex-f-bg);
531 border: solid var(--sex-f-fg) thin;
[all …]
H A Dminimal.css26 --sex-f-bg: #ffffff;
27 --sex-f-fg: #888888;
28 --sex-m-bg: #ffffff;
29 --sex-m-fg: #888888;
30 --sex-u-bg: #ffffff;
31 --sex-u-fg: #888888;
32 --sex-x-bg: #ffffff;
33 --sex-x-fg: #888888;
295 background: var(--sex-f-bg);
296 border: solid var(--sex-f-fg) thin;
[all …]
H A Dclouds.css26 --sex-f-bg: #ffdddd;
27 --sex-f-fg: #aaaaaa;
28 --sex-m-bg: #ddddff;
29 --sex-m-fg: #aaaaaa;
30 --sex-u-bg: #ffffff;
31 --sex-u-fg: #aaaaaa;
32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
565 background: var(--sex-f-bg);
566 border: solid var(--sex-f-fg) thin;
[all …]
/webtrees/app/Statistics/Repository/
H A DIndividualRepository.php90 * @param string $sex
98 …private function commonGivenQuery(string $sex, string $type, bool $show_tot, int $threshold, int $… argument
111 switch ($sex) {
115 $query->where('i_sex', '=', $sex);
794 * @param string $sex
800 …public function statsAgeQuery(string $related = 'BIRT', string $sex = 'BOTH', int $year1 = -1, int… argument
802 $query = $this->birthAndDeathQuery($sex);
837 * @param string $sex
841 private function longlifeQuery(string $type, string $sex): string argument
843 $row = $this->birthAndDeathQuery($sex)
[all …]
/webtrees/app/SurnameTradition/
H A DIcelandicSurnameTradition.php70 * @param string $sex
74 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
77 switch ($sex) {
103 * @param string $sex
107 public function newParentNames(Individual $child, string $sex): array argument
109 …if ($sex === 'M' && preg_match('~(?<GIVN>[^ /]+)(:?sson)$~', $this->extractName($child), $match) =…
115 …if ($sex === 'F' && preg_match('~(?<GIVN>[^ /]+)(:?sdottir)$~', $this->extractName($child), $match…
130 * @param string $sex
134 public function newSpouseNames(Individual $spouse, string $sex): array argument
H A DLithuanianSurnameTradition.php86 * @param string $sex
90 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
93 if ($sex === 'F') {
115 * @param string $sex
119 public function newParentNames(Individual $child, string $sex): array argument
121 … if ($sex === 'M' && preg_match(self::REGEX_SURN, $this->extractName($child), $match) === 1) {
139 * @param string $sex
143 public function newSpouseNames(Individual $spouse, string $sex): array argument
145 … if ($sex === 'F' && preg_match(self::REGEX_SURN, $this->extractName($spouse), $match) === 1) {
H A DPolishSurnameTradition.php76 * @param string $sex
80 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
83 if ($sex === 'F') {
101 * @param string $sex
105 public function newParentNames(Individual $child, string $sex): array argument
107 … if ($sex === 'M' && preg_match(self::REGEX_SURN, $this->extractName($child), $match) === 1) {
123 * @param string $sex
127 public function newSpouseNames(Individual $spouse, string $sex): array argument
129 … if ($sex === 'F' && preg_match(self::REGEX_SURN, $this->extractName($spouse), $match) === 1) {
H A DPaternalSurnameTradition.php58 * @param string $sex
62 public function newParentNames(Individual $child, string $sex): array argument
64 … if ($sex === 'F' && preg_match(self::REGEX_SPFX_SURN, $this->extractName($child), $match) === 1) {
75 return parent::newParentNames($child, $sex);
82 * @param string $sex
86 public function newSpouseNames(Individual $spouse, string $sex): array argument
88 …if ($sex === 'F' && preg_match(self::REGEX_SPFX_SURN, $this->extractName($spouse), $match) === 1) {
99 return parent::newSpouseNames($spouse, $sex);
H A DMatrilinealSurnameTradition.php58 * @param string $sex
62 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
74 return parent::newChildNames($father, $mother, $sex);
81 * @param string $sex
85 public function newParentNames(Individual $child, string $sex): array argument
87 … if ($sex === 'F' && preg_match(self::REGEX_SPFX_SURN, $this->extractName($child), $match) === 1) {
97 return parent::newParentNames($child, $sex);
H A DPatrilinealSurnameTradition.php58 * @param string $sex
62 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
74 return parent::newChildNames($father, $mother, $sex);
81 * @param string $sex
85 public function newParentNames(Individual $child, string $sex): array argument
87 … if ($sex === 'M' && preg_match(self::REGEX_SPFX_SURN, $this->extractName($child), $match) === 1) {
97 return parent::newParentNames($child, $sex);
H A DSpanishSurnameTradition.php71 * @param string $sex
75 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
101 * @param string $sex
105 public function newParentNames(Individual $child, string $sex): array argument
108 switch ($sex) {
136 * @param string $sex
140 public function newSpouseNames(Individual $spouse, string $sex): array argument
H A DPortugueseSurnameTradition.php71 * @param string $sex
75 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
101 * @param string $sex
105 public function newParentNames(Individual $child, string $sex): array argument
108 switch ($sex) {
136 * @param string $sex
140 public function newSpouseNames(Individual $spouse, string $sex): array argument
H A DSurnameTraditionInterface.php56 * @param string $sex
60 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): arra… argument
66 * @param string $sex
70 public function newParentNames(Individual $child, string $sex): array; argument
76 * @param string $sex
80 public function newSpouseNames(Individual $spouse, string $sex): array; argument
H A DDefaultSurnameTradition.php85 * @param string $sex
89 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array argument
100 * @param string $sex
104 public function newParentNames(Individual $child, string $sex): array argument
115 * @param string $sex
119 public function newSpouseNames(Individual $spouse, string $sex): array argument
/webtrees/resources/views/
H A Dfact-parent-age.phtml16 <?php if ($sex === 'F') : ?>
19 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
23 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
26 <?php elseif ($sex === 'M') : ?>
29 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
33 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
39 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
43 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
/webtrees/app/Module/
H A DStatisticsChartModule.php541 foreach (array_keys($z_axis) as $sex) {
542 $rows = $statistics->statsAgeQuery('DEAT', $sex);
546 $this->fillYData($years, $sex, 1, $x_axis, $z_axis, $ydata);
594 foreach (['M', 'F'] as $sex) {
595 $rows = $statistics->statsMarrAgeQuery($sex);
604 foreach (array_keys($z_axis) as $sex) {
605 $rows = $statistics->statsMarrAgeQuery($sex);
608 $this->fillYData($years, $sex, 1, $x_axis, $z_axis, $ydata);
616 foreach (['M', 'F'] as $sex) {
619 … $rows = $statistics->statsMarrAgeQuery($sex, $prev_boundary, $boundary);
[all …]
H A DLanguageFrench.php130 …$symmetricCousin = static fn (int $n, string $sex): array => self::SYMMETRIC_COUSINS[$n][$sex] ?? …
131 …$sex === 'F' ? 'cousine au ' . $n . '<sup>e</sup> degré' : 'cousin au ' . $n . '<sup>e</sup> degré…
132 $sex === 'F' ? 'de la ' : 'du '
136 …static function (int $up, int $down, string $sex) use ($symmetricCousin, $firstCompound, $genitive…
138 return $symmetricCousin($up, $sex);
140 … $fixed = self::ASYMMETRIC_COUSINS[$up][$sex] ?? self::ASYMMETRIC_COUSINS[-$down][$sex] ?? null;
146 $sex === 'F' ?
149 $sex === 'F' ? 'de la ' : 'du '
/webtrees/resources/views/edit/
H A Dchange-family-members.phtml26 <?php if ($family->husband()?->sex() === 'M') : ?>
28 <?php elseif ($family->husband()?->sex() === 'F') : ?>
41 <?php if ($family->wife()?->sex() === 'M') : ?>
43 <?php elseif ($family->wife()?->sex() === 'F') : ?>
57 <?php if ($child->sex() === 'M') : ?>
59 <?php elseif ($child->sex() === 'F') : ?>
/webtrees/app/Http/RequestHandlers/
H A DAddSpouseToIndividualPage.php71 $sex = self::OPPOSITE_SEX[$individual->sex()];
77 $names = $surname_tradition->newSpouseNames($individual, $sex);
80 'i' => $this->gedcom_edit_service->newIndividualFacts($tree, $sex, $names),
90 $title = $titles[$sex];
/webtrees/resources/views/icons/
H A Dsex.phtml9 if ($sex === 'F') : ?>
11 <?php elseif ($sex === 'M') : ?>
13 <?php elseif ($sex === 'X') : ?>
15 <?php elseif ($sex === 'U') : ?>
/webtrees/resources/views/lists/
H A Dfamilies-table.phtml184 … <small><?= view('icons/sex', ['sex' => $husb->sex()]) ?></small>
209 … <small><?= view('icons/sex', ['sex' => $wife->sex()]) ?></small>
284 <?php if ($wife->sex() === 'F') : ?>
287 <?php if ($wife->sex() === 'M') : ?>
292 <?php if ($husb->sex() === 'M') : ?>
295 <?php if ($husb->sex() === 'F') : ?>

1234567