Elgg  Version 2.3
Namespaces | Variables
language.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:set:language')
 
 $content
 

Variable Documentation

Initial value:
'#type' => 'select',
'name' => 'language',
'value' => $user->language,
'options_values' => get_installed_translations(),
'#label' => elgg_echo('user:language:label'),
))
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: language.php:9
get_installed_translations()
Return an array of installed translations as an associative array "two letter code" => "native langua...
Definition: languages.php:93

Definition at line 16 of file language.php.

if (!$user instanceof ElggUser) $title = elgg_echo('user:set:language')

Definition at line 15 of file language.php.

Definition at line 9 of file language.php.