Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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:
= elgg_view_input('select', array(
'name' => 'language',
'value' => $user->language,
'options_values' => get_installed_translations(),
'label' => elgg_echo('user:language:label'),
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_input($input_type, array $vars=array())
Renders a form field.
Definition: views.php:1332
$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.