Lines Matching refs:UserInterface

24 use Fisharebest\Webtrees\Contracts\UserInterface;  alias
96 ->where('setting_name', '=', UserInterface::PREF_TREE_ACCOUNT_XREF)
135 * @return Closure(UserInterface,UserInterface):int
139 return static function (UserInterface $user1, UserInterface $user2) {
140 $registered_at1 = (int) $user1->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
141 $logged_in_at1 = (int) $user1->getPreference(UserInterface::PREF_TIMESTAMP_ACTIVE);
142 $registered_at2 = (int) $user2->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
143 $logged_in_at2 = (int) $user2->getPreference(UserInterface::PREF_TIMESTAMP_ACTIVE);
154 * @return Closure(UserInterface):bool
158 return static function (UserInterface $user) use ($timestamp): bool {
159 $registered_at = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
160 $logged_in_at = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_ACTIVE);
189 ->where('user_setting.setting_name', '=', UserInterface::PREF_IS_ADMINISTRATOR)
207 ->where('user_gedcom_setting.setting_name', '=', UserInterface::PREF_TREE_ROLE)
208 ->where('user_gedcom_setting.setting_value', '=', UserInterface::ROLE_MANAGER)
226 ->where('user_gedcom_setting.setting_name', '=', UserInterface::PREF_TREE_ROLE)
227 ->where('user_gedcom_setting.setting_value', '=', UserInterface::ROLE_MODERATOR)
247 … ->where('user_setting.setting_name', '=', UserInterface::PREF_IS_ACCOUNT_APPROVED);
272 … ->where('user_setting.setting_name', '=', UserInterface::PREF_IS_EMAIL_VERIFIED);
377 …if ($contact_user->getPreference(UserInterface::PREF_CONTACT_METHOD) === MessageService::CONTACT_M…