Elgg
Version master
|
Go to the source code of this file.
Variables | |
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) | |
Provide a way of setting your language prefs. More... | |
if(!$user instanceof\ElggUser) | $who_can_change_language = elgg_get_config('who_can_change_language') |
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) | $options = elgg()->translator->getInstalledTranslations(elgg_is_admin_logged_in()) |
if(count($options)< 2) | $field_options |
if(count($options)< 2) | if (count($options)< 4) |
if (count($options)< 2) $field_options |
Definition at line 27 of file language.php.
$options = elgg()->translator->getInstalledTranslations(elgg_is_admin_logged_in()) |
Definition at line 20 of file language.php.
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) |
Provide a way of setting your language prefs.
$vars['entity'] the user to set settings for
Definition at line 8 of file language.php.
if (!$user instanceof\ElggUser) $who_can_change_language = elgg_get_config('who_can_change_language') |
Definition at line 13 of file language.php.
if (count($options)< 2) if(count($options)< 4) |
Definition at line 35 of file language.php.