Elgg  Version 2.3
Namespaces | Variables
name.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $user = elgg_get_page_owner_entity()
 
if(!$user instanceof ElggUser$title = elgg_echo('user:name:label')
 
 $content
 

Variable Documentation

Initial value:
'#type' => 'text',
'name' => 'name',
'value' => $user->name,
'#label' => elgg_echo('name'),
))
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
$user
Definition: name.php:9

Definition at line 17 of file name.php.

if (!$user instanceof ElggUser) $title = elgg_echo('user:name:label')

Definition at line 16 of file name.php.

Definition at line 9 of file name.php.