Lines Matching refs:tree
143 …$my_xref = $individual->tree()->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_X…
146 $my_record = Registry::individualFactory()->make($my_xref, $individual->tree());
199 'tree' => $individual->tree()->name(),
210 $tree = Validator::attributes($request)->tree();
221 'tree' => $tree->name(),
229 $individual1 = Registry::individualFactory()->make($xref, $tree);
230 $individual2 = Registry::individualFactory()->make($xref2, $tree);
232 … $ancestors_only = (int) $tree->getPreference('RELATIONSHIP_ANCESTORS', static::DEFAULT_ANCESTORS);
233 … $max_recursion = (int) $tree->getPreference('RELATIONSHIP_RECURSION', static::DEFAULT_RECURSION);
237 Auth::checkComponentAccess($this, ModuleChartInterface::class, $tree, $user);
277 'tree' => $tree,
291 $tree = $individual1->tree();
293 … $max_recursion = (int) $tree->getPreference('RELATIONSHIP_RECURSION', static::DEFAULT_RECURSION);
311 $relationships = $this->oldStyleRelationshipPath($tree, $path);
318 ->map(static function (string $xref, int $key) use ($tree): GedcomRecord {
320 return Registry::individualFactory()->make($xref, $tree);
323 return Registry::familyFactory()->make($xref, $tree);
351 …y::individualFactory()->make($path[$n - 1], $tree), Registry::individualFactory()->make($path[$n +…
358 …y::individualFactory()->make($path[$n - 1], $tree), Registry::individualFactory()->make($path[$n +…
361 …y::individualFactory()->make($path[$n - 1], $tree), Registry::individualFactory()->make($path[$n +…
369 …y::individualFactory()->make($path[$n - 1], $tree), Registry::individualFactory()->make($path[$n +…
372 …y::individualFactory()->make($path[$n - 1], $tree), Registry::individualFactory()->make($path[$n +…
381 $individual = Registry::individualFactory()->make($xref, $tree);
437 foreach ($this->tree_service->all() as $tree) {
438 … $recursion = Validator::parsedBody($request)->integer('relationship-recursion-' . $tree->id());
439 … $ancestors = Validator::parsedBody($request)->string('relationship-ancestors-' . $tree->id());
441 $tree->setPreference('RELATIONSHIP_RECURSION', (string) $recursion);
442 $tree->setPreference('RELATIONSHIP_ANCESTORS', $ancestors);
495 $tree = $individual1->tree();
498 ->where('l_file', '=', $tree->id())
505 … $ancestors = $this->allAncestors($individual1->xref(), $individual2->xref(), $tree->id());
506 … $exclude = $this->excludeFamilies($individual1->xref(), $individual2->xref(), $tree->id());
661 * @param Tree $tree
666 private function oldStyleRelationshipPath(Tree $tree, array $path): array argument
691 $family = Registry::familyFactory()->make($path[$i], $tree);
692 $prev = Registry::individualFactory()->make($path[$i - 1], $tree);
693 $next = Registry::individualFactory()->make($path[$i + 1], $tree);