Lines Matching refs:sex

479                     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());
557 … $facts[] = $this->convertEvent($fact, $death_of_a_sibling[$fact->tag()], $fact->record()->sex());
560 …cts[] = $this->convertEvent($fact, $death_of_a_half_sibling[$fact->tag()], $fact->record()->sex());
563 … $facts[] = $this->convertEvent($fact, $death_of_a_child[$fact->tag()], $fact->record()->sex());
579 … $facts[] = $this->convertEvent($fact, $marriage_of_a_grandchild1, $child->sex());
582 … $facts[] = $this->convertEvent($fact, $marriage_of_a_grandchild2, $child->sex());
585 … $facts[] = $this->convertEvent($fact, $marriage_of_a_grandchild, $child->sex());
590 … $facts[] = $this->convertEvent($fact, $marriage_of_a_sibling, $child->sex());
593 … $facts[] = $this->convertEvent($fact, $marriage_of_a_half_sibling, $child->sex());
596 … $facts[] = $this->convertEvent($fact, $marriage_of_a_child, $child->sex());
718 …foreach ($this->parentFacts($spouse, $spouse->sex() === 'F' ? 3 : 2, $min_date, $max_date) as $fac…
753 … $facts[] = $this->convertEvent($fact, $death_of_a_parent[$fact->tag()], $fact->record()->sex());
757 switch ($person->sex()) {
759 …$this->convertEvent($fact, $death_of_a_paternal_grandparent[$fact->tag()], $fact->record()->sex());
762 …$this->convertEvent($fact, $death_of_a_maternal_grandparent[$fact->tag()], $fact->record()->sex());
765 …acts[] = $this->convertEvent($fact, $death_of_a_grandparent[$fact->tag()], $fact->record()->sex());
815 … $facts[] = $this->convertEvent($fact, $death_of_a_spouse[$fact->tag()], $fact->record()->sex());
844 * @param string $sex
848 private function convertEvent(Fact $fact, array $types, string $sex): Fact argument
850 $type = $types[$sex] ?? $types['U'];