Elgg  Version 2.3
Namespaces | Variables
language.php File Reference

Go to the source code of this file.


 Save menu items.


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

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
Definition: language.php:9
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.