Elgg  Version 2.3
email.php
Go to the documentation of this file.
1 <?php
10 
11 if (!$user instanceof ElggUser) {
12  return;
13 }
14 
15 $title = elgg_echo('email:settings');
17  '#type' => 'email',
18  'name' => 'email',
19  'value' => $user->email,
20  '#label' => elgg_echo('email:address:label'),
21 ));
22 
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1424
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:48
elgg_get_page_owner_entity()
Gets the owner entity for the current page.
Definition: pageowner.php:56
$content
Definition: email.php:16
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1250
$user
Definition: email.php:9
if(!$user instanceof ElggUser) $title
Definition: email.php:15