Home
last modified time | relevance | path

Searched refs:User (Results 1 – 25 of 128) sorted by relevance

123456

/webtrees/app/Services/
H A DUserService.php30 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 DContactsFooterModule.php24 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 DUser.php30 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 DMasqueradeTest.php28 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 DDeleteUserTest.php28 use Fisharebest\Webtrees\User; alias
38 $user = $this->createMock(User::class);
71 $user = $this->createMock(User::class);
H A DPasswordRequestPageTest.php24 use Fisharebest\Webtrees\User; alias
43 $user = $this->createMock(User::class);
H A DAccountEditTest.php26 use Fisharebest\Webtrees\User; alias
37 $user = $this->createMock(User::class);
H A DLoginPageTest.php26 use Fisharebest\Webtrees\User; alias
49 $user = $this->createMock(User::class);
/webtrees/resources/views/admin/
H A Dusers-table-options.phtml11 use Fisharebest\Webtrees\User; alias
15 * @var User $self
16 * @var User $user
/webtrees/app/Statistics/Repository/
H A DContactRepository.php26 use Fisharebest\Webtrees\User; alias
56 if ($user instanceof User) {
73 if ($user instanceof User) {
/webtrees/app/Http/RequestHandlers/
H A DHomePage.php27 use Fisharebest\Webtrees\User; alias
67 if ($user instanceof User) {
86 if ($user instanceof User) {
H A DUserAddAction.php28 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 DUserEditAction.php31 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 DPasswordRequestPage.php25 use Fisharebest\Webtrees\User; alias
52 if ($user instanceof User) {
H A DLogout.php26 use Fisharebest\Webtrees\User; alias
49 if ($user instanceof User) {
H A DAccountDelete.php26 use Fisharebest\Webtrees\User; alias
61 … if ($user instanceof User && $user->getPreference(UserInterface::PREF_IS_ADMINISTRATOR) !== '1') {
/webtrees/tests/app/Http/Middleware/
H A DAuthAdministratorTest.php27 use Fisharebest\Webtrees\User; alias
41 $user = $this->createMock(User::class);
60 $user = $this->createMock(User::class);
H A DAuthModeratorTest.php28 use Fisharebest\Webtrees\User; alias
42 $user = $this->createMock(User::class);
64 $user = $this->createMock(User::class);
H A DAuthMemberTest.php28 use Fisharebest\Webtrees\User; alias
42 $user = $this->createMock(User::class);
64 $user = $this->createMock(User::class);
H A DAuthEditorTest.php28 use Fisharebest\Webtrees\User; alias
42 $user = $this->createMock(User::class);
64 $user = $this->createMock(User::class);
H A DAuthManagerTest.php28 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 Duser-messages.phtml13 use Fisharebest\Webtrees\User; alias
95 <?php if ($user instanceof User) : ?>
118 if ($user instanceof User) {
/webtrees/resources/views/
H A Dpassword-reset-page.phtml8 use Fisharebest\Webtrees\User; alias
14 * @var User $user
/webtrees/app/Http/Middleware/
H A DAuthLoggedIn.php24 use Fisharebest\Webtrees\User; alias
50 if ($user instanceof User) {
H A DAuthAdministrator.php26 use Fisharebest\Webtrees\User; alias
57 … if ($user instanceof User || $request->getMethod() === RequestMethodInterface::METHOD_POST) {

123456