Elgg
Version master
|
Go to the source code of this file.
Variables | |
$username = (string) $request->getParam('username') | |
$password = (string) $request->getParam('password', null, false) | |
$password2 = (string) $request->getParam('password2', null, false) | |
$email = (string) $request->getParam('email') | |
$name = (string) $request->getParam('name') | |
try | |
$failures = $validation->getFailures() | |
if($failures) | $new_user |
$fail | |
$params ['user'] = $new_user | |
if(!elgg_trigger_event_results('register', 'user', $params, true)) if($new_user->isValidated()===null) catch(\Exception $e) | $response_data |
$forward_url = elgg_get_login_forward_url($new_user) | |
$response_message = elgg_echo('registerok', [elgg_get_site_entity()->getDisplayName()]) | |
Definition at line 15 of file register.php.
$fail |
Definition at line 41 of file register.php.
$failures = $validation->getFailures() |
Definition at line 24 of file register.php.
$forward_url = elgg_get_login_forward_url($new_user) |
Definition at line 81 of file register.php.
Definition at line 16 of file register.php.
if ($failures) $new_user |
$params['user'] = $new_user |
Definition at line 53 of file register.php.
$password = (string) $request->getParam('password', null, false) |
Definition at line 13 of file register.php.
$password2 = (string) $request->getParam('password2', null, false) |
Definition at line 14 of file register.php.
if (!elgg_trigger_event_results('register', 'user', $params, true)) if ($new_user->isValidated()===null) catch (\Exception $e) $response_data |
Definition at line 69 of file register.php.
$response_message = elgg_echo('registerok', [elgg_get_site_entity()->getDisplayName()]) |
Definition at line 82 of file register.php.
$username = (string) $request->getParam('username') |
Definition at line 12 of file register.php.
if (!elgg_trigger_event_results('register', 'user', $params, true)) if ($new_user->isValidated()===null) catch (\Exception $e) if (!$new_user->isEnabled()) try |
Definition at line 22 of file register.php.