Home
last modified time | relevance | path

Searched refs:user_id (Results 1 – 16 of 16) sorted by relevance

/webtrees/app/
H A DUser.php32 private int $user_id; variable in Fisharebest\\Webtrees\\User
44 * @param int $user_id
49 public function __construct(int $user_id, string $user_name, string $real_name, string $email) argument
51 $this->user_id = $user_id;
57 ->where('user_id', '=', $this->user_id)
69 return $this->user_id;
95 ->where('user_id', '=', $this->user_id)
127 ->where('user_id', '=', $this->user_id)
159 ->where('user_id', '=', $this->user_id)
195 'user_id' => $this->user_id,
[all …]
H A DSessionDatabaseHandler.php87 $user_id = (int) Auth::id();
94 'user_id' => $user_id,
102 if ((int) $this->row->user_id !== $user_id) {
103 $updates['user_id'] = $user_id;
/webtrees/resources/views/admin/
H A Dusers-table-options.phtml22 …ropdown-toggle" data-bs-toggle="dropdown" id="edit-user-button-<?= $row->user_id ?>" aria-haspopup…
25 <div class="dropdown-menu" aria-labelledby="edit-user-button-<?= $row->user_id ?>">
28 <a href="<?= e(route(UserEditPage::class, ['user_id' => $row->user_id])) ?>">
38 …"#" data-wt-post-url="<?= e(route(Masquerade::class, ['user_id' => $row->user_id])) ?>" data-wt-re…
46 …ser_name)) ?>" data-wt-post-url="<?= e(route(DeleteUser::class, ['user_id' => $row->user_id])) ?>">
/webtrees/app/Statistics/Repository/
H A DLatestUserRepository.php74 $user_id = DB::table('user as u')
85 if ($user_id !== null) {
86 $user_id = (int) $user_id;
89 return $this->user_service->find($user_id) ?? Auth::user();
H A DContactRepository.php53 $user_id = (int) $this->tree->getPreference('WEBMASTER_USER_ID');
54 $user = $this->user_service->find($user_id);
70 $user_id = (int) $this->tree->getPreference('CONTACT_USER_ID');
71 $user = $this->user_service->find($user_id);
/webtrees/app/Http/RequestHandlers/
H A DMasquerade.php56 $user_id = Validator::attributes($request)->integer('user_id');
57 $user = $this->user_service->find($user_id);
60 throw new HttpNotFoundException('User ID ' . $user_id . ' not found');
63 if (Validator::attributes($request)->user()->id() !== $user_id) {
H A DDeleteUser.php55 $user_id = (int) $request->getAttribute('user_id');
57 $user = $this->user_service->find($user_id);
60 throw new HttpNotFoundException('User ID ' . $user_id . ' not found');
H A DUserEditPage.php79 $user_id = Validator::queryParams($request)->integer('user_id');
80 $user = $this->user_service->find($user_id);
83 … throw new HttpNotFoundException(I18N::translate('%s does not exist.', 'user_id:' . $user_id));
H A DUserEditAction.php73 $user_id = Validator::parsedBody($request)->integer('user_id');
89 $edit_user = $this->user_service->find($user_id);
92 … throw new HttpNotFoundException(I18N::translate('%s does not exist.', 'user_id:' . $user_id));
H A DUsersCleanupAction.php60 foreach ($delete as $user_id) {
61 $user = $this->user_service->find((int) $user_id);
H A DUserListData.php126 $row_user = $this->user_service->find((int) $row->user_id);
129 $row->user_id,
/webtrees/app/Services/
H A DUserService.php48 public function find(int|null $user_id): User|null argument
51 ->remember('user-' . $user_id, static fn (): User|null => DB::table('user')
52 ->where('user_id', '=', $user_id)
324 $user_id = DB::lastInsertId(); argument
326 return new User($user_id, $user_name, $real_name, $email);
H A DHomePageService.php267 * @param int $user_id
273 …public function updateUserBlocks(int $user_id, Collection $main_block_ids, Collection $side_block_… argument
276 ->where('user_id', '=', $user_id)
311 'user_id' => $user_id,
/webtrees/tests/app/Services/
H A DUserServiceTest.php58 $user_id = $user->id();
61 self::assertNull($user_service->find($user_id));
/webtrees/app/Module/
H A DRecentChangesModule.php309 'user' => $this->user_service->find((int) $row->user_id),
/webtrees/
H A Dphpstan-baseline.neon3382 message: '#^Access to an undefined property object\:\:\$user_id\.$#'
5848 message: '#^Access to an undefined property object\:\:\$user_id\.$#'
9286 message: '#^Access to an undefined property object\:\:\$user_id\.$#'
10408 message: '#^Access to an undefined property object\:\:\$user_id\.$#'
10786 message: '#^Access to an undefined property object\:\:\$user_id\.$#'