Elgg  Version master
Variables
email.php File Reference

Go to the source code of this file.

Variables

 $user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())
 Provide a way of setting your email. More...
 
if(!$user instanceof\ElggUser) $fields = []
 
if(elgg_get_config('security_email_require_password')&&($user->guid===elgg_get_logged_in_user_guid())) $email_help = null
 
if(elgg_get_config('security_email_require_confirmation')&&isset($user->new_email)) $fields []
 
if(elgg_get_config('security_email_require_confirmation')&&isset($user->new_email)) if (count($fields)===1)
 

Variable Documentation

if (elgg_get_config('security_email_require_password')&&($user->guid===elgg_get_logged_in_user_guid())) $email_help = null

Definition at line 26 of file email.php.

if (!$user instanceof\ElggUser) $fields = []

Definition at line 13 of file email.php.

if (elgg_get_config('security_email_require_confirmation')&&isset($user->new_email)) $fields[]
Initial value:
= [
'#type' => 'email'

Definition at line 31 of file email.php.

$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())

Provide a way of setting your email.

$vars['entity'] the user to set settings for

Definition at line 8 of file email.php.

if (elgg_get_config('security_email_require_confirmation')&&isset($user->new_email)) if(count($fields)===1)
Initial value:
=> elgg_echo('email:address:label'),
'#help' => $email_help,
'name' => 'email',
'value' => $user->email,
]
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
if(elgg_get_config('security_email_require_password')&&($user->guid===elgg_get_logged_in_user_guid())) $email_help
Definition: email.php:26
$user
Provide a way of setting your email.
Definition: email.php:8

Definition at line 39 of file email.php.