Elgg  Version 6.1
Variables
change_email.php File Reference

Go to the source code of this file.

Variables

 $guid = (int) get_input('user_guid')
 Admin action to change the email address of an user. More...
 
 $email = (string) get_input('email')
 
if(empty($guid)||empty($email)) if(!elgg_is_valid_email($email)) $user
 
if(!$user instanceof ElggUser$users
 
if(count($users) > 1) elseif(count($users)===1) if($user->email===$email) $user email = $email
 

Variable Documentation

$email = (string) get_input('email')

Definition at line 7 of file change_email.php.

$guid = (int) get_input('user_guid')

Admin action to change the email address of an user.

Definition at line 6 of file change_email.php.

if (empty($guid)||empty($email)) if (!elgg_is_valid_email($email)) $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:306
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:123
$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 17 of file change_email.php.

if (!$user instanceof ElggUser) $users
Initial value:
})
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:306
$email
Definition: change_email.php:7
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:123
elgg_get_user_by_email(string $email)
Get a user from an email address.
Definition: users.php:79

Definition at line 24 of file change_email.php.

if (count($users) > 1) elseif (count($users)===1) if ($user->email===$email) $user email = $email

Definition at line 42 of file change_email.php.