/webtrees/app/Module/ |
H A D | LanguageEnglishUnitedStates.php | 189 Relationship::fixed('stepparent', 'stepparent’s %s')->parent()->married()->spouse(), 190 … Relationship::fixed('stepdaughter', 'stepdaughter’s %s')->married()->spouse()->daughter(), 191 Relationship::fixed('stepson', 'stepson’s %s')->married()->spouse()->son(), 192 Relationship::fixed('stepchild', 'stepchild’s %s')->married()->spouse()->child(), 193 Relationship::fixed('stepsister', 'stepsister’s %s')->parent()->spouse()->daughter(), 194 Relationship::fixed('stepbrother', 'stepbrother’s %s')->parent()->spouse()->son(), 195 Relationship::fixed('stepsibling', 'stepsibling’s %s')->parent()->spouse()->child(), 204 Relationship::fixed('spouse', 'spouse’s %s')->spouse(), 207 … Relationship::fixed('mother-in-law', 'mother-in-law’s %s')->married()->spouse()->mother(), 208 … Relationship::fixed('father-in-law', 'father-in-law’s %s')->married()->spouse()->father(), [all …]
|
H A D | LanguageFrench.php | 208 Relationship::fixed('beau-parent', '%s du beau-parent')->parent()->married()->spouse(), 209 … Relationship::fixed('belle-fille', '%s de la belle-fille')->married()->spouse()->daughter(), 210 Relationship::fixed('beau-fils', '%s du beau-fils')->married()->spouse()->son(), 211 … Relationship::fixed('beau-fils/fille', '%s du beau-fils/fille')->married()->spouse()->child(), 212 … Relationship::fixed('quasi-sœur', '%s de la quasi-sœur')->parent()->spouse()->daughter(), 213 Relationship::fixed('quasi-frère', '%s du quasi-frère')->parent()->spouse()->son(), 214 … Relationship::fixed('quasi-frère/sœur', '%s du quasi-frère/sœur')->parent()->spouse()->child(), 226 Relationship::fixed('époux', '%s de l’époux')->spouse(), 231 Relationship::fixed('belle-mère', '%s de la belle-mère')->married()->spouse()->mother(), 232 Relationship::fixed('beau-père', '%s du beau-père')->married()->spouse()->father(), [all …]
|
H A D | BranchesListModule.php | 413 $spouse = $family->spouse($individual); 414 if ($spouse instanceof Individual) { 415 $sosa = array_search($spouse, $ancestors, true); 418 … ' <a class="small wt-chart-box-' . strtolower($spouse->sex()) . '" href="' . e($module->chartUrl(… 431 …sex' => $spouse->sex()]) . '</small><a class="' . $sosa_class . '" href="' . e($spouse->url()) . '…
|
H A D | DescendancyModule.php | 191 $spouse = $family->spouse($person); 192 if ($spouse instanceof Individual) { 193 …$spouse_name = '<small>' . view('icons/sex', ['sex' => $spouse->sex()]) . '</small>' . $spouse->fu… 194 …$spouse_link = '<a href="' . e($spouse->url()) . '" title="' . strip_tags($spouse->fullName()) . '…
|
H A D | PlacesModule.php | 213 $spouse = $record->spouse($individual); 214 if ($spouse instanceof Individual) { 215 $url = $spouse->url(); 216 $name = $spouse->fullName();
|
H A D | LanguageSlovakian.php | 152 Relationship::fixed('manžel/manželka', '%s manžela/manželky')->spouse(), 159 Relationship::fixed('svokor', '%s svokra')->spouse()->father(), 160 Relationship::fixed('svokra', '%s svokry')->spouse()->mother(), 163 Relationship::fixed('švagor', '%s švagra')->spouse()->brother(), 165 Relationship::fixed('švagriná', '%s švagrinej')->spouse()->sister(),
|
/webtrees/resources/views/modules/family_nav/ |
H A D | sidebar-family.phtml | 30 <?php foreach ($family->spouses() as $spouse) : ?> 31 … <tr class="text-center wt-family-navigator-parent wt-sex-<?= strtolower($spouse->sex()) ?>"> 33 <?php if ($spouse === $individual) : ?> 34 …ry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?> 36 <?php elseif ($spouse->childFamilies()->isNotEmpty()) : ?> 38 …<a class="dropdown-toggle" href="#" role="button" id="dropdown-<?= e($spouse->xref()) ?>" data-bs-… 39 …ry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?> 43 … <?php foreach ($spouse->childFamilies() as $n => $spouse_child_family) : ?> 59 …ry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?> 64 <?php if ($spouse->canShow()) : ?> [all …]
|
/webtrees/app/ |
H A D | Individual.php | 272 $spouse = $family->spouse($this, Auth::PRIV_HIDE); 273 if ($spouse) { 274 preg_match_all('/\n2 DATE (.+)/', $spouse->gedcom, $date_matches); 586 $spouse = $family->spouse($this); 587 if ($spouse) { 588 $tmp = $spouse->getBirthDate(); 698 return $family->spouse($this); 785 $spouse = $family->spouse($this); 787 if ($spouse instanceof self) { 788 foreach ($family->spouse($this)->spouseFamilies() as $step_family) { [all …]
|
/webtrees/resources/views/lists/ |
H A D | individual-table-parents.phtml | 16 <?php foreach ($family->spouses() as $spouse) : ?> 18 <?php $spouse = clone $spouse; ?> variable 19 <?php $spouse->setPrimaryName(null); ?> 20 <?php if ($spouse->sex() === 'F') : ?> 21 <?= I18N::translate('Mother: %s', $spouse->fullName()) ?> 23 <?= I18N::translate('Father: %s', $spouse->fullName()) ?>
|
/webtrees/app/Module/InteractiveTree/ |
H A D | TreeView.php | 133 $spouse = $family->spouse($individual); 134 if ($spouse) { 135 $html .= $this->getPersonDetails($spouse, $family); 245 $partner = $pfamily->spouse($person); 276 $spouse = $family->spouse($person); 277 if ($spouse instanceof Individual) { 278 $spouse_parents = $spouse->childFamilies()->first(); 287 $html .= $this->drawPersonName($spouse, $dashed);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | LinkSpouseToIndividualAction.php | 66 $spouse = Registry::individualFactory()->make($spid, $tree); 67 $spouse = Auth::checkIndividualAccess($spouse, true); 70 … $gedcom = "0 @@ FAM\n1 HUSB @" . $individual->xref() . "@\n1 WIFE @" . $spouse->xref() . '@'; 72 … $gedcom = "0 @@ FAM\n1 WIFE @" . $individual->xref() . "@\n1 HUSB @" . $spouse->xref() . '@'; 80 $spouse->createFact('1 FAMS @' . $family->xref() . '@', false);
|
H A D | AddSpouseToFamilyAction.php | 66 $spouse = $tree->createIndividual("0 @@ INDI\n1 FAMS @" . $family->xref() . '@' . $gedcom); 72 if ($husb === null && $spouse->sex() === 'M') { 74 } elseif ($wife === null && $spouse->sex() === 'F') { 86 $family->createFact('1 ' . $link . ' @' . $spouse->xref() . '@', false); 98 $url = Validator::parsedBody($request)->isLocalUrl()->string('url', $spouse->url());
|
/webtrees/resources/views/ |
H A D | chart-box.phtml | 36 $spouse = $family->spouse($individual); variable 37 if ($spouse && $spouse->canShow()) { 38 $menus->push(new Menu($spouse->fullName(), $spouse->url()));
|
/webtrees/app/Services/ |
H A D | IndividualFactsService.php | 116 foreach ($associate->spouses() as $spouse) { 117 $factrec .= "\n2 _ASSO @" . $spouse->xref() . '@'; 146 … ->filter(fn (Family $family): bool => $family->spouse($individual) instanceof Individual) 147 …(Family $family): Collection => $this->spouseFacts($individual, $family->spouse($individual), $min… 708 foreach ($family->spouses() as $spouse) { 709 foreach ($spouse->spouseFamilies() as $sfamily) { 718 …foreach ($this->parentFacts($spouse, $spouse->sex() === 'F' ? 3 : 2, $min_date, $max_date) as $fac… 782 * @param Individual $spouse Show events of this individual 788 …private function spouseFacts(Individual $individual, Individual $spouse, Date $min_date, Date $max… argument 813 foreach ($spouse->facts(['DEAT', 'BURI', 'CREM']) as $fact) {
|
/webtrees/resources/views/modules/ancestors-chart/ |
H A D | tree.phtml | 48 <?php foreach ($parents->spouses() as $n => $spouse) : ?> 59 …individual' => $spouse, 'parents' => $spouse->childFamilies()->first(), 'generations' => $generati…
|
/webtrees/app/SurnameTradition/ |
H A D | PaternalSurnameTradition.php | 81 * @param Individual $spouse 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);
|
/webtrees/tests/app/Census/ |
H A D | CensusColumnConditionFrenchGarconTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionFrenchVeuveTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 119 $family->expects($this->once())->method('spouse')->willReturn($spouse); 137 $spouse = $this->createMock(Individual::class); 138 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 150 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionFrenchVeufTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionFrenchHommeTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionFrenchFilleTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionEnglishTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionDanishTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
H A D | CensusColumnConditionFrenchFemmeTest.php | 106 $spouse = $this->createMock(Individual::class); 107 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 118 $family->expects($this->once())->method('spouse')->willReturn($spouse); 136 $spouse = $this->createMock(Individual::class); 137 $spouse->method('getDeathDate')->willReturn(new Date('1820')); 148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
|
/webtrees/app/Census/ |
H A D | AbstractCensusColumnCondition.php | 89 $spouse = $family->spouse($individual); 90 if ($spouse instanceof Individual && $this->isDead($spouse)) {
|