/webtrees/tests/app/SurnameTradition/ |
H A D | LithuanianSurnameTraditionTest.php | 23 use Fisharebest\Webtrees\Individual; alias 60 $father = $this->createMock(Individual::class); 66 $mother = $this->createMock(Individual::class); 83 $father = $this->createMock(Individual::class); 89 $mother = $this->createMock(Individual::class); 106 $father = $this->createMock(Individual::class); 112 $mother = $this->createMock(Individual::class); 123 $father = $this->createMock(Individual::class); 134 $father = $this->createMock(Individual::class); 145 $father = $this->createMock(Individual::class); [all …]
|
H A D | PolishSurnameTraditionTest.php | 23 use Fisharebest\Webtrees\Individual; alias 50 $father = $this->createMock(Individual::class); 56 $mother = $this->createMock(Individual::class); 73 $father = $this->createMock(Individual::class); 79 $mother = $this->createMock(Individual::class); 96 $father = $this->createMock(Individual::class); 102 $mother = $this->createMock(Individual::class); 113 $father = $this->createMock(Individual::class); 119 $mother = $this->createMock(Individual::class); 130 $father = $this->createMock(Individual::class); [all …]
|
H A D | PaternalSurnameTraditionTest.php | 23 use Fisharebest\Webtrees\Individual; alias 49 $father = $this->createMock(Individual::class); 55 $mother = $this->createMock(Individual::class); 82 $father = $this->createMock(Individual::class); 88 $mother = $this->createMock(Individual::class); 105 $father = $this->createMock(Individual::class); 111 $mother = $this->createMock(Individual::class); 128 $father = $this->createMock(Individual::class); 134 $mother = $this->createMock(Individual::class); 151 $father = $this->createMock(Individual::class); [all …]
|
/webtrees/tests/app/Census/ |
H A D | CensusColumnBornForeignPartsTest.php | 22 use Fisharebest\Webtrees\Individual; alias 45 $individual = $this->createMock(Individual::class); 58 $individual = $this->createMock(Individual::class); 71 $individual = $this->createMock(Individual::class); 84 $individual = $this->createMock(Individual::class); 97 $individual = $this->createMock(Individual::class); 110 $individual = $this->createMock(Individual::class); 123 $individual = $this->createMock(Individual::class); 136 $individual = $this->createMock(Individual::class); 149 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaWidowedTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionUsTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaMarriedWidowedTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaWidowedMaleTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaMarriedSingleTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionCanadaWidowedFemaleTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 151 $individual = $this->createMock(Individual::class); 169 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionFrenchGarconTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 150 $individual = $this->createMock(Individual::class); 168 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionFrenchVeuveTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 121 $individual = $this->createMock(Individual::class); 137 $spouse = $this->createMock(Individual::class); 152 $individual = $this->createMock(Individual::class); 170 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionFrenchVeufTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 150 $individual = $this->createMock(Individual::class); 168 $individual = $this->createMock(Individual::class); [all …]
|
H A D | CensusColumnConditionFrenchHommeTest.php | 25 use Fisharebest\Webtrees\Individual; alias 36 $individual = $this->createMock(Individual::class); 51 $individual = $this->createMock(Individual::class); 70 $individual = $this->createMock(Individual::class); 89 $individual = $this->createMock(Individual::class); 106 $spouse = $this->createMock(Individual::class); 120 $individual = $this->createMock(Individual::class); 136 $spouse = $this->createMock(Individual::class); 150 $individual = $this->createMock(Individual::class); 168 $individual = $this->createMock(Individual::class); [all …]
|
/webtrees/tests/feature/ |
H A D | RelationshipNamesTest.php | 82 … $i1m = new Individual('i1m', "0 @i1m@ INDI\n1 SEX M\n1 FAMS @f1m@\n1 FAMC @f4m@", null, $tree); 83 …$i2f = new Individual('i2f', "0 @i2f@ INDI\n1 SEX F\n1 FAMS @f1m@\n1 FAMS @f2d@\n2 FAMC @f5m@", n… 84 …$i3m = new Individual('i3m', "0 @i3m@ INDI\n1 SEX M\n1 FAMC @f1m@\n1 FAMS @f3e@\n1 BIRT\n2 DATE 2… 85 …$i4f = new Individual('i4f', "0 @i4f@ INDI\n1 SEX F\n1 FAMC @f1m@\n1 BIRT\n2 DATE 2001", null, $t… 86 …$i5u = new Individual('i5u', "0 @i5u@ INDI\n1 SEX U\n1 FAMC @f1m@\n1 BIRT\n2 DATE 2002", null, $t… 87 $i6m = new Individual('i6m', "0 @i6m@ INDI\n1 SEX M\n1 FAMS @f2d@", null, $tree); 88 …$i7ma = new Individual('i7ma', "0 @i7ma@ INDI\n1 SEX M\n1 FAMC @f2d@\n2 PEDI adopted", null, $tree… 89 $i8f = new Individual('i8f', "0 @i8f@ INDI\n1 SEX F\n1 FAMC @f2d@", null, $tree); 90 … $i9u = new Individual('i9u', "0 @i9u@ INDI\n1 SEX U\n1 FAMC @f2d@\n1 FAMS @f6@", null, $tree); 91 $i10f = new Individual('i10f', "0 @i10f@ INDI\n1 SEX F\n1 FAMS @f3e@", null, $tree); [all …]
|
/webtrees/app/Module/InteractiveTree/ |
H A D | TreeView.php | 25 use Fisharebest\Webtrees\Individual; alias 56 * @param Individual $individual Draw the chart for this individual 61 public function drawViewport(Individual $individual, int $generations): array 111 if ($parent instanceof Individual) { 125 * @param Individual $individual the individual to return the details for 129 public function getDetails(Individual $individual): string 145 * @param Individual $individual 150 private function getPersonDetails(Individual $individual, Family|null $family = null): string 229 * @param Individual $person The Person object to draw the box for 238 …private function drawPerson(Individual $person, int $gen, int $state, Family|null $pfamily, string… [all …]
|
/webtrees/app/ |
H A D | Family.php | 36 private Individual|null $husb = null; 39 private Individual|null $wife = null; 80 * @return Individual|null 82 public function husband(int|null $access_level = null): Individual|null 88 if ($this->husb instanceof Individual && $this->husb->canShowName($access_level)) { 100 * @return Individual|null 102 public function wife(int|null $access_level = null): Individual|null 108 if ($this->wife instanceof Individual && $this->wife->canShowName($access_level)) { 153 * @param Individual $person 156 * @return Individual|null [all …]
|
/webtrees/app/Module/ |
H A D | PlacesModule.php | 26 use Fisharebest\Webtrees\Individual; alias 110 * @param Individual $individual 114 public function hasTabContent(Individual $individual): bool 122 * @param Individual $indi 126 private function getMapData(Individual $indi): object 171 * @param Individual $individual 176 private function getPersonalFacts(Individual $individual): Collection 199 * @param Individual $individual 204 private function summaryData(Individual $individual, Fact $fact): array 214 if ($spouse instanceof Individual) { [all …]
|
H A D | InteractiveTreeModule.php | 24 use Fisharebest\Webtrees\Individual; alias 71 * @param Individual $individual 75 public function getTabContent(Individual $individual): string 90 * @param Individual $individual 94 public function hasTabContent(Individual $individual): bool 103 * @param Individual $individual 107 public function isGrayedOut(Individual $individual): bool 135 * @param Individual $individual 139 public function chartBoxMenu(Individual $individual): Menu|null 147 * @param Individual $individual [all …]
|
H A D | DescendancyModule.php | 24 use Fisharebest\Webtrees\Individual; alias 93 ->map(fn (Individual $individual): string => $this->getPersonLi($individual)) 126 * @param Individual $individual 130 public function hasSidebarContent(Individual $individual): bool 138 * @param Individual $individual 142 public function getSidebarContent(Individual $individual): string 153 * @param Individual $person 158 public function getPersonLi(Individual $person, int $generations = 0): string 184 * @param Individual $person 189 public function getFamilyLi(Family $family, Individual $person, int $generations = 0): string [all …]
|
H A D | PedigreeChartModule.php | 25 use Fisharebest\Webtrees\Individual; alias 124 * @param Individual $individual 128 public function chartBoxMenu(Individual $individual): Menu|null 136 * @param Individual $individual 140 public function chartTitle(Individual $individual): string 149 * @param Individual $individual 154 public function chartUrl(Individual $individual, array $parameters = []): string 198 …$links = $ancestors->map(function (Individual|null $individual, $sosa) use ($ancestors, $style, $g… 199 …if ($individual instanceof Individual && $sosa >= 2 ** $generations / 2 && $individual->childFamil… 259 * @param Individual $individual [all …]
|
H A D | RelationshipsChartModule.php | 31 use Fisharebest\Webtrees\Individual; alias 125 * @param Individual $individual 129 public function chartBoxMenu(Individual $individual): Menu|null 137 * @param Individual $individual 141 public function chartMenu(Individual $individual): Menu 148 if ($my_record instanceof Individual) { 190 * @param Individual $individual 195 public function chartUrl(Individual $individual, array $parameters = []): string 239 if ($individual1 instanceof Individual) { 243 if ($individual2 instanceof Individual) { [all …]
|
/webtrees/app/SurnameTradition/ |
H A D | DefaultSurnameTradition.php | 25 use Fisharebest\Webtrees\Individual; alias 83 * @param Individual|null $father 84 * @param Individual|null $mother 89 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array 99 * @param Individual $child 104 public function newParentNames(Individual $child, string $sex): array 114 * @param Individual $spouse 119 public function newSpouseNames(Individual $spouse, string $sex): array 154 * @param Individual|null $individual 158 protected function extractName(Individual|null $individual): string [all …]
|
H A D | SurnameTraditionInterface.php | 22 use Fisharebest\Webtrees\Individual; alias 54 * @param Individual|null $father 55 * @param Individual|null $mother 60 …public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): arra… 65 * @param Individual $child 70 public function newParentNames(Individual $child, string $sex): array; 75 * @param Individual $spouse 80 public function newSpouseNames(Individual $spouse, string $sex): array;
|