Lines Matching refs:individual
71 * @param Individual $individual
75 public function getTabContent(Individual $individual): string argument
79 [$html, $js] = $treeview->drawViewport($individual, 3);
90 * @param Individual $individual
94 public function hasTabContent(Individual $individual): bool argument
96 return $individual->facts(['FAMC', 'FAMS'])->isNotEmpty();
103 * @param Individual $individual
107 public function isGrayedOut(Individual $individual): bool argument
135 * @param Individual $individual
139 public function chartBoxMenu(Individual $individual): Menu|null argument
141 return $this->chartMenu($individual);
147 * @param Individual $individual
151 public function chartTitle(Individual $individual): string argument
154 return I18N::translate('Interactive tree of %s', $individual->fullName());
160 * @param Individual $individual
165 public function chartUrl(Individual $individual, array $parameters = []): string argument
170 'xref' => $individual->xref(),
171 'tree' => $individual->tree()->name(),
188 $individual = Registry::individualFactory()->make($xref, $tree);
189 $individual = Auth::checkIndividualAccess($individual, false, true);
193 [$html, $js] = $tv->drawViewport($individual, 4);
197 'individual' => $individual,
200 'title' => $this->chartTitle($individual),
229 $individual = Registry::individualFactory()->make($pid, $tree);
230 $individual = Auth::checkIndividualAccess($individual);
234 return response($treeview->getDetails($individual));