Elgg  Version 4.3
change_email.php File Reference

Go to the source code of this file.


 $guid = 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',
'value' => 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:1143
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18

Definition at line 33 of file change_email.php.

$guid = 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:592
Get a user object from a GUID.
Definition: users.php:20
Definition: constants.php:148
Admin action to change the email address of an user.
Definition: change_email.php:6

Definition at line 9 of file change_email.php.

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

Definition at line 13 of file change_email.php.