Lines Matching refs:UserInterface
23 use Fisharebest\Webtrees\Contracts\UserInterface; alias
263 * @param UserInterface $user
269 …public function setUserPreference(UserInterface $user, string $setting_name, string $setting_value…
293 * @param UserInterface $user
299 …public function getUserPreference(UserInterface $user, string $setting_name, string $default = '')…
327 * @param UserInterface $user
331 public function canAcceptChanges(UserInterface $user): bool
382 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
427 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
472 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
517 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
532 * @param UserInterface $user
537 public function significantIndividual(UserInterface $user, string $xref = ''): Individual
553 …if ($individual === null && $this->getUserPreference($user, UserInterface::PREF_TREE_DEFAULT_XREF)…
554 …= Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::PREF_TREE_DEF…
557 …if ($individual === null && $this->getUserPreference($user, UserInterface::PREF_TREE_ACCOUNT_XREF)…
558 …= Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::PREF_TREE_ACC…