Elgg  Version 6.0
change_email.php File Reference

Go to the source code of this file.


 $guid = (int) elgg_extract('user_guid', $vars)
 Change the email address of an user. More...
 if (!$user instanceof\ElggUser||!$user->canEdit())

Variable Documentation

Initial value:
'#type' => 'submit',
'text' => elgg_echo('save'),
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Definition at line 33 of file change_email.php.

$guid = (int) elgg_extract('user_guid', $vars)

Change the email address of an user.

$vars['user_guid'] the GUID of the user to change

Definition at line 8 of file change_email.php.

Initial value:
return get_user($guid);
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
Definition: elgglib.php:304
Definition: constants.php:132
Admin action to change the email address of an user.
Definition: change_email.php:6
get_user(int $guid)
Elgg users Functions to manage multiple or single users in an Elgg install.
Definition: users.php:16

Definition at line 9 of file change_email.php.

if(!$user instanceof\ElggUser||!$user->canEdit())

Definition at line 13 of file change_email.php.