Elgg  Version 5.1
Variables
change_email.php File Reference

Go to the source code of this file.

Variables

 $guid = (int) 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',
'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:1133
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.

$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:299
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:132
$guid
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.