Validate that registration is allowed based on one of the following:
More...
Validate that registration is allowed based on one of the following:
- valid invite code
- registration enabled
- Since
- 4.3
Definition at line 15 of file RegistrationAllowedGatekeeper.php.
Elgg\Router\Middleware\RegistrationAllowedGatekeeper::__invoke |
( |
Request |
$request | ) |
|
Validate input and/or settings to allow access to registration resources.
- Parameters
-
- Returns
- void
- Exceptions
-
RegistrationAllowedGatekeeperException | |
Definition at line 25 of file RegistrationAllowedGatekeeper.php.
Elgg\Router\Middleware\RegistrationAllowedGatekeeper::assertRegistrationEnabled |
( |
| ) |
|
|
protected |
Validate if registration is allowed by the site configuration.
- Returns
- void
- Exceptions
-
RegistrationAllowedGatekeeperException | |
Definition at line 68 of file RegistrationAllowedGatekeeper.php.
Elgg\Router\Middleware\RegistrationAllowedGatekeeper::validateInviteCode |
( |
Request |
$request | ) |
|
|
protected |
The documentation for this class was generated from the following file: