Home
last modified time | relevance | path

Searched refs:getUserPreference (Results 1 – 13 of 13) sorted by relevance

/webtrees/app/
H A DTree.php271 if ($this->getUserPreference($user, $setting_name) !== $setting_value) {
299 …public function getUserPreference(UserInterface $user, string $setting_name, string $default = '')… function in Fisharebest\\Webtrees\\Tree
553 …if ($individual === null && $this->getUserPreference($user, UserInterface::PREF_TREE_DEFAULT_XREF)…
554 …$individual = Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::P…
557 …if ($individual === null && $this->getUserPreference($user, UserInterface::PREF_TREE_ACCOUNT_XREF)…
558 …$individual = Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::P…
H A DAuth.php77 …return self::isAdmin($user) || $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === …
94 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_MODERATOR;
111 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_EDITOR;
128 … $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) === UserInterface::ROLE_MEMBER;
H A DIndividual.php127 …$user_path_length = (int) $this->tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_PA…
128 …$gedcomid = $this->tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_…
150 …$user_individual = Registry::individualFactory()->make($target->tree->getUserPreference(Auth::user…
H A DGedcomRecord.php1107 …if ($this->xref() === $this->tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUN…
/webtrees/resources/views/admin/
H A Dusers-edit.phtml323 … <?= $role === $tree->getUserPreference($user, UserInterface::PREF_TREE_ROLE) ? 'selected' : '' ?>>
330 …e->id(), 'individual' => Registry::individualFactory()->make($tree->getUserPreference($user, 'gedc…
335 …<option value="<?= $n ?>" <?= (int) $tree->getUserPreference($user, UserInterface::PREF_TREE_PATH_…
/webtrees/app/Http/RequestHandlers/
H A DAccountEdit.php71 …$my_individual_record = Registry::individualFactory()->make($tree->getUserPreference(Auth::user(),…
72 …$default_individual = Registry::individualFactory()->make($tree->getUserPreference(Auth::user(),…
/webtrees/app/Module/
H A DChartsBlockModule.php87 … $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
243 … $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
H A DModuleThemeTrait.php329 …$record = Registry::individualFactory()->make($tree->getUserPreference(Auth::user(), UserInterface…
386 $my_xref = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
H A DUserWelcomeModule.php78 $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
H A DBranchesListModule.php178 $xref = $tree->getUserPreference($user, UserInterface::PREF_TREE_ACCOUNT_XREF);
H A DRelationshipsChartModule.php143 …$my_xref = $individual->tree()->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_X…
/webtrees/tests/app/
H A DTreeTest.php86 $pref = $tree->getUserPreference($user, 'foo', 'default');
90 $pref = $tree->getUserPreference($user, 'foo', 'default');
/webtrees/app/Statistics/Repository/
H A DUserRepository.php110 …$individual = Registry::individualFactory()->make($this->tree->getUserPreference($user, UserInterf…