Elgg  Version 4.3
Variables
change_email.php File Reference

Go to the source code of this file.

Variables

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

Variable Documentation

$footer
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.

$user
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_user($guid)
Get a user object from a GUID.
Definition: users.php:20
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:148
$guid
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.