Lines Matching refs:user
70 foreach ($this->user_service->allLoggedIn() as $user) {
71 … if (Auth::isAdmin() || $user->getPreference(UserInterface::PREF_IS_VISIBLE_ONLINE) === '1') {
72 $logged_in[] = $user;
105 foreach ($logged_in as $user) {
110 …ual = Registry::individualFactory()->make($this->tree->getUserPreference($user, UserInterface::PRE…
113 … $content .= '<a href="' . e($individual->url()) . '">' . e($user->realName()) . '</a>';
115 $content .= e($user->realName());
118 $content .= ' - ' . e($user->userName());
120 …if ($user->getPreference(UserInterface::PREF_CONTACT_METHOD) !== MessageService::CONTACT_METHOD_NO…
121 …$content .= '<a href="' . e(route(MessagePage::class, ['to' => $user->userName(), 'tree' => $this-…
156 * @param UserInterface $user
160 private function isUserVisible(UserInterface $user): bool argument
162 … return Auth::isAdmin() || $user->getPreference(UserInterface::PREF_IS_VISIBLE_ONLINE) === '1';
180 foreach ($this->user_service->allLoggedIn() as $user) {
181 if (!$this->isUserVisible($user)) {
196 foreach ($this->user_service->allLoggedIn() as $user) {
197 if ($this->isUserVisible($user)) {
221 return e(Auth::user()->userName());
233 return Auth::check() ? '<bdi>' . e(Auth::user()->realName()) . '</bdi>' : '';