/webtrees/app/Services/ |
H A D | UserService.php | 30 use Fisharebest\Webtrees\User; alias 48 public function find(int|null $user_id): User|null 51 ->remember('user-' . $user_id, static fn (): User|null => DB::table('user') 54 ->map(User::rowMapper()) 61 public function findByEmail(string $email): User|null 66 ->map(User::rowMapper()) 73 public function findByIdentifier(string $identifier): User|null 79 ->map(User::rowMapper()) 99 ->map(User::rowMapper()); 105 public function findByToken(string $token): User|null [all …]
|
/webtrees/app/Module/ |
H A D | ContactsFooterModule.php | 24 use Fisharebest\Webtrees\User; alias 92 if ($contact_user instanceof User && $contact_user === $webmaster_user) { 98 if ($contact_user instanceof User && $webmaster_user instanceof User) { 104 if ($contact_user instanceof User) { 110 if ($webmaster_user instanceof User) { 122 * @param User $user 127 public function contactLinkEverything(User $user, ServerRequestInterface $request): string 135 * @param User $user 140 public function contactLinkGenealogy(User $user, ServerRequestInterface $request): string 148 * @param User $user [all …]
|
/webtrees/app/ |
H A D | User.php | 30 class User implements UserInterface class 87 * @return User 89 public function setEmail(string $email): User 119 * @return User 121 public function setRealName(string $real_name): User 210 * @return User 254 …return static fn (object $row): User => new self((int) $row->user_id, $row->user_name, $row->real_…
|
/webtrees/tests/app/Http/RequestHandlers/ |
H A D | MasqueradeTest.php | 28 use Fisharebest\Webtrees\User; alias 38 $user1 = $this->createMock(User::class); 41 $user2 = $this->createMock(User::class); 61 $user = $this->createMock(User::class); 83 $user = $this->createMock(User::class);
|
H A D | DeleteUserTest.php | 28 use Fisharebest\Webtrees\User; alias 38 $user = $this->createMock(User::class); 71 $user = $this->createMock(User::class);
|
H A D | PasswordRequestPageTest.php | 24 use Fisharebest\Webtrees\User; alias 43 $user = $this->createMock(User::class);
|
H A D | AccountEditTest.php | 26 use Fisharebest\Webtrees\User; alias 37 $user = $this->createMock(User::class);
|
H A D | LoginPageTest.php | 26 use Fisharebest\Webtrees\User; alias 49 $user = $this->createMock(User::class);
|
/webtrees/resources/views/admin/ |
H A D | users-table-options.phtml | 11 use Fisharebest\Webtrees\User; alias 15 * @var User $self 16 * @var User $user
|
/webtrees/app/Statistics/Repository/ |
H A D | ContactRepository.php | 26 use Fisharebest\Webtrees\User; alias 56 if ($user instanceof User) { 73 if ($user instanceof User) {
|
/webtrees/app/Http/RequestHandlers/ |
H A D | HomePage.php | 27 use Fisharebest\Webtrees\User; alias 67 if ($user instanceof User) { 86 if ($user instanceof User) {
|
H A D | UserAddAction.php | 28 use Fisharebest\Webtrees\User; alias 65 if ($this->user_service->findByUserName($username) instanceof User) { 70 if ($this->user_service->findByEmail($email) instanceof User) {
|
H A D | UserEditAction.php | 31 use Fisharebest\Webtrees\User; alias 147 … if ($edit_user->email() !== $email && $this->user_service->findByEmail($email) instanceof User) { 153 …user->userName() !== $username && $this->user_service->findByUserName($username) instanceof User) {
|
H A D | PasswordRequestPage.php | 25 use Fisharebest\Webtrees\User; alias 52 if ($user instanceof User) {
|
H A D | Logout.php | 26 use Fisharebest\Webtrees\User; alias 49 if ($user instanceof User) {
|
H A D | AccountDelete.php | 26 use Fisharebest\Webtrees\User; alias 61 … if ($user instanceof User && $user->getPreference(UserInterface::PREF_IS_ADMINISTRATOR) !== '1') {
|
/webtrees/tests/app/Http/Middleware/ |
H A D | AuthAdministratorTest.php | 27 use Fisharebest\Webtrees\User; alias 41 $user = $this->createMock(User::class); 60 $user = $this->createMock(User::class);
|
H A D | AuthModeratorTest.php | 28 use Fisharebest\Webtrees\User; alias 42 $user = $this->createMock(User::class); 64 $user = $this->createMock(User::class);
|
H A D | AuthMemberTest.php | 28 use Fisharebest\Webtrees\User; alias 42 $user = $this->createMock(User::class); 64 $user = $this->createMock(User::class);
|
H A D | AuthEditorTest.php | 28 use Fisharebest\Webtrees\User; alias 42 $user = $this->createMock(User::class); 64 $user = $this->createMock(User::class);
|
H A D | AuthManagerTest.php | 28 use Fisharebest\Webtrees\User; alias 42 $user = $this->createMock(User::class); 64 $user = $this->createMock(User::class);
|
/webtrees/resources/views/modules/user-messages/ |
H A D | user-messages.phtml | 13 use Fisharebest\Webtrees\User; alias 95 <?php if ($user instanceof User) : ?> 118 if ($user instanceof User) {
|
/webtrees/resources/views/ |
H A D | password-reset-page.phtml | 8 use Fisharebest\Webtrees\User; alias 14 * @var User $user
|
/webtrees/app/Http/Middleware/ |
H A D | AuthLoggedIn.php | 24 use Fisharebest\Webtrees\User; alias 50 if ($user instanceof User) {
|
H A D | AuthAdministrator.php | 26 use Fisharebest\Webtrees\User; alias 57 … if ($user instanceof User || $request->getMethod() === RequestMethodInterface::METHOD_POST) {
|