Searched refs:getUserPreference (Results 1 – 13 of 13) sorted by relevance
/webtrees/app/ |
H A D | Tree.php | 271 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 D | Auth.php | 77 …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 D | Individual.php | 127 …$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 D | GedcomRecord.php | 1107 …if ($this->xref() === $this->tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUN…
|
/webtrees/resources/views/admin/ |
H A D | users-edit.phtml | 323 … <?= $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 D | AccountEdit.php | 71 …$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 D | ChartsBlockModule.php | 87 … $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF); 243 … $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
|
H A D | ModuleThemeTrait.php | 329 …$record = Registry::individualFactory()->make($tree->getUserPreference(Auth::user(), UserInterface… 386 $my_xref = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
|
H A D | UserWelcomeModule.php | 78 $gedcomid = $tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF);
|
H A D | BranchesListModule.php | 178 $xref = $tree->getUserPreference($user, UserInterface::PREF_TREE_ACCOUNT_XREF);
|
H A D | RelationshipsChartModule.php | 143 …$my_xref = $individual->tree()->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_X…
|
/webtrees/tests/app/ |
H A D | TreeTest.php | 86 $pref = $tree->getUserPreference($user, 'foo', 'default'); 90 $pref = $tree->getUserPreference($user, 'foo', 'default');
|
/webtrees/app/Statistics/Repository/ |
H A D | UserRepository.php | 110 …$individual = Registry::individualFactory()->make($this->tree->getUserPreference($user, UserInterf…
|