Lines Matching refs:individual

56      * @param Individual $individual  Draw the chart for this individual
61 public function drawViewport(Individual $individual, int $generations): array argument
66 'individual' => $this->drawPerson($individual, $generations, 0, null, '', true),
67 'tree' => $individual->tree(),
72 …->name . 'Handler = new TreeViewHandler("' . $this->name . '", "' . e($individual->tree()->name())…
125 * @param Individual $individual the individual to return the details for
129 public function getDetails(Individual $individual): string argument
131 $html = $this->getPersonDetails($individual, null);
132 foreach ($individual->spouseFamilies() as $family) {
133 $spouse = $family->spouse($individual);
145 * @param Individual $individual
150 private function getPersonDetails(Individual $individual, Family|null $family = null): string argument
155 'xref' => $individual->xref(),
156 'tree' => $individual->tree()->name(),
159 $hmtl = $this->getThumbnail($individual);
160individual->url()) . '">' . $individual->fullName() . '</a> <a href="' . e($chart_url) . '" title=…
161 foreach ($individual->facts(Gedcom::BIRTH_EVENTS, true) as $fact) {
169 foreach ($individual->facts(Gedcom::DEATH_EVENTS, true) as $fact) {
173 return '<div class="tv' . $individual->sex() . ' tv_person_expanded">' . $hmtl . '</div>';
345 * @param Individual $individual The individual to draw
350 private function drawPersonName(Individual $individual, string $dashed): string argument
352 $family = $individual->childFamilies()->first();
358 switch ($individual->sex()) {
372 $sex = $individual->sex();
374 …. $title . '><a href="' . e($individual->url()) . '"></a>' . $individual->fullName() . ' <span cla…
380 * @param Individual $individual
384 private function getThumbnail(Individual $individual): string argument
386 …if ($individual->tree()->getPreference('SHOW_HIGHLIGHT_IMAGES') !== '' && $individual->tree()->get…
387 return $individual->displayImage(40, 50, 'crop', []);