Lines Matching refs:UserInterface
23 use Fisharebest\Webtrees\Contracts\UserInterface; alias
96 … if ($approved && $edit_user->getPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED) !== '1') {
97 I18N::init($edit_user->getPreference(UserInterface::PREF_LANGUAGE));
113 $edit_user->setPreference(UserInterface::PREF_THEME, $theme);
114 $edit_user->setPreference(UserInterface::PREF_LANGUAGE, $language);
115 $edit_user->setPreference(UserInterface::PREF_TIME_ZONE, $timezone);
116 $edit_user->setPreference(UserInterface::PREF_CONTACT_METHOD, $contact_method);
117 $edit_user->setPreference(UserInterface::PREF_NEW_ACCOUNT_COMMENT, $comment);
118 $edit_user->setPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS, (string) $auto_accept);
119 $edit_user->setPreference(UserInterface::PREF_IS_VISIBLE_ONLINE, (string) $visible_online);
120 $edit_user->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, (string) $verified);
121 $edit_user->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, (string) $approved);
129 $edit_user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, $canadmin ? '1' : '');
142 $tree->setUserPreference($edit_user, UserInterface::PREF_TREE_ACCOUNT_XREF, $gedcom_id);
143 $tree->setUserPreference($edit_user, UserInterface::PREF_TREE_ROLE, $can_edit);
144 … $tree->setUserPreference($edit_user, UserInterface::PREF_TREE_PATH_LENGTH, (string) $path_length);