Lines Matching refs:tree
84 public function listUrl(Tree $tree, array $parameters = []): string argument
90 $individual = Registry::individualFactory()->make($xref, $tree);
99 $parameters['tree'] = $tree->name();
114 $tree = Validator::attributes($request)->tree();
117 Auth::checkComponentAccess($this, ModuleListInterface::class, $tree, $user);
153 … ->redirectUrl($this->listUrl($tree, $params), StatusCodeInterface::STATUS_MOVED_PERMANENTLY);
170 $surname_data = $this->surnameData($tree, $show_marnm === 'yes', $this->showFamilies());
181 ->redirectUrl($this->listUrl($tree));
189 … $params = ['tree' => $tree->name(), 'show_all' => 'yes', 'show_marnm' => $show_marnm];
193 … $params = ['tree' => $tree->name(), 'show_all' => 'yes', 'show_marnm' => $show_marnm];
197 … $params = ['tree' => $tree->name(), 'show_all' => 'yes', 'show_marnm' => $show_marnm];
202 …$params = ['tree' => $tree->name(), 'surname' => $surname, 'falpha' => $falpha, 'show_marnm' => $s…
227 $params = ['alpha' => $alpha, 'tree' => $tree->name(), 'show_marnm' => $show_marnm];
233 $params = ['alpha' => $alpha, 'tree' => $tree->name(), 'show_marnm' => $show_marnm];
238 $params = ['alpha' => $alpha, 'tree' => $tree->name(), 'show_marnm' => $show_marnm];
242 $params = ['tree' => $tree->name(), 'show_marnm' => $show_marnm];
260 …<a href="<?= e($this->listUrl($tree, ['alpha' => $letter, 'show_marnm' => $show_marnm, 'tree' => $…
271 …1<?= $show_all === 'yes' ? ' active' : '' ?>" href="<?= e($this->listUrl($tree, ['show_all' => 'ye…
280 … <a href="<?= e($this->listUrl($tree, ['show' => $show, 'show_marnm' => 'no'] + $params)) ?>">
286 … <a href="<?= e($this->listUrl($tree, ['show' => $show, 'show_marnm' => 'yes'] + $params)) ?>">
295 <a href="<?= e($this->listUrl($tree, ['show' => 'indi'] + $params)) ?>">
301 <a href="<?= e($this->listUrl($tree, ['show' => 'surn'] + $params)) ?>">
339 switch ($tree->getPreference('SURNAME_LIST_STYLE')) {
346 'tree' => $tree,
355 'tree' => $tree,
366 'tree' => $tree,
375 $sublist_threshold = (int) $tree->getPreference('SUBLIST_TRIGGER_I');
382 …$givn_initials = $this->givenNameInitials($tree, $all_surnames, $show_marnm === 'yes', $this->show…
393 …echo '<a class="wt-initial px-1 active" href="' . e($this->listUrl($tree, ['falpha' => $givn_initi…
395 …echo '<a class="wt-initial px-1" href="' . e($this->listUrl($tree, ['falpha' => $givn_initial] + $…
408 …echo '<a class="wt-initial px-1" href="' . e($this->listUrl($tree, ['show_all_firstnames' => 'yes'…
436 … 'families' => $this->families($tree, $surns_to_show, $falpha, $show_marnm === 'yes'),
437 'tree' => $tree,
441 … 'individuals' => $this->individuals($tree, $surns_to_show, $falpha, $show_marnm === 'yes', false),
443 'tree' => $tree,
457 'tree' => $tree,
523 public function givenNameInitials(Tree $tree, array $surns, bool $marnm, bool $fams): array argument
533 ->where('n_file', '=', $tree->id());
566 private function surnameData(Tree $tree, bool $marnm, bool $fams): array argument
569 ->where('n_file', '=', $tree->id())
692 …protected function individuals(Tree $tree, array $surns_to_show, string $galpha, bool $marnm, bool… argument
700 ->where('i_file', '=', $tree->id())
715 $individual = Registry::individualFactory()->make($row->xref, $tree, $row->gedcom);
747 … protected function families(Tree $tree, array $surnames, string $galpha, bool $marnm): Collection argument
751 foreach ($this->individuals($tree, $surnames, $galpha, $marnm, true) as $indi) {