Lines Matching refs:UserInterface

23 use Fisharebest\Webtrees\Contracts\UserInterface;  alias
117 $tree->setUserPreference($user, UserInterface::PREF_TREE_ACCOUNT_XREF, $indi->xref());
144 $admin->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1');
161 … $tree->setUserPreference($user1, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MANAGER);
162 … $tree->setUserPreference($user2, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR);
163 $tree->setUserPreference($user3, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
164 $tree->setUserPreference($user4, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MEMBER);
181 … $tree->setUserPreference($user1, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MANAGER);
182 … $tree->setUserPreference($user2, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MODERATOR);
183 $tree->setUserPreference($user3, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_EDITOR);
184 $tree->setUserPreference($user4, UserInterface::PREF_TREE_ROLE, UserInterface::ROLE_MEMBER);
200 $user1->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, '');
201 $user1->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, '');
202 $user2->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, '');
203 $user2->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, '1');
204 $user3->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, '1');
205 $user3->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, '');
206 $user4->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, '1');
207 $user4->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, '1');