User Validation related events.
More...
User Validation related events.
- Since
- 4.0
Definition at line 13 of file Validation.php.
static Elgg\Users\Validation::addRiverActivityAfterValidation |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Adds river activity that a new user joined the site.
- Parameters
-
\Elgg\Event | $event | 'validate:after', 'user' |
- Returns
- void
Definition at line 22 of file Validation.php.
static Elgg\Users\Validation::checkAdminValidation |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Check if new users need to be validated by an administrator.
- Parameters
-
\Elgg\Event | $event | 'register', 'user' |
- Returns
- void
Definition at line 41 of file Validation.php.
static Elgg\Users\Validation::notifyAdminsAboutPendingUsers |
( |
| ) |
|
|
staticprotected |
Send a notification to all admins that there are pending user validations.
- Returns
- void
Definition at line 75 of file Validation.php.
static Elgg\Users\Validation::preventUserLogin |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Prevent unvalidated users from logging in.
- Parameters
-
\Elgg\Event | $event | 'login:before', 'user' |
- Returns
- void
- Exceptions
-
Definition at line 135 of file Validation.php.
static Elgg\Users\Validation::removeUnvalidatedUsers |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Remove unvalidated users after x days.
- Parameters
-
\Elgg\Event | $event | 'cron', 'daily' |
- Returns
- void
- Since
- 4.2
Definition at line 192 of file Validation.php.
static Elgg\Users\Validation::setRegistrationForwardUrl |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Set the correct forward url after user registration.
- Parameters
-
\Elgg\Event | $event | 'response', 'action:register' |
- Returns
- void|ResponseBuilder
Definition at line 162 of file Validation.php.
The documentation for this class was generated from the following file: