Lines Matching refs:user
126 $user = $this->user_service->create($username, $realname, $email, $password);
129 $user->setPreference(UserInterface::PREF_LANGUAGE, I18N::languageTag());
130 $user->setPreference(UserInterface::PREF_TIME_ZONE, Site::getPreference('TIMEZONE'));
131 $user->setPreference(UserInterface::PREF_IS_EMAIL_VERIFIED, '');
132 $user->setPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED, '');
133 $user->setPreference(UserInterface::PREF_TIMESTAMP_REGISTERED, date('U'));
134 $user->setPreference(UserInterface::PREF_VERIFICATION_TOKEN, $token);
135 …$user->setPreference(UserInterface::PREF_CONTACT_METHOD, MessageService::CONTACT_METHOD_INTERNAL_A…
136 $user->setPreference(UserInterface::PREF_NEW_ACCOUNT_COMMENT, $comments);
137 $user->setPreference(UserInterface::PREF_IS_VISIBLE_ONLINE, '1');
138 $user->setPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS, '');
139 $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '');
140 $user->setPreference(UserInterface::PREF_TIMESTAMP_ACTIVE, '0');
146 'username' => $user->userName(),
155 $user,
158 …view('emails/register-user-text', ['user' => $user, 'base_url' => $base_url, 'verify_url' => $veri…
159 …view('emails/register-user-html', ['user' => $user, 'base_url' => $base_url, 'verify_url' => $veri…
170 'user' => $user,
177 'user' => $user,
200 'sender' => $user->email(),
214 'user' => $user,