Elgg  Version 2.3
Variables
languages.js.php File Reference

Go to the source code of this file.

Variables

 $language = elgg_extract('language', $vars, 'en')
 $vars['language'] More...
 
 $all_translations = $GLOBALS['_ELGG']->translations
 
 $translations = $all_translations['en']
 
if($language!= 'en'&&!isset($all_translations[$language])) if ($language!= 'en'&&isset($all_translations[$language]))
 

Variable Documentation

$all_translations = $GLOBALS['_ELGG']->translations

Definition at line 8 of file languages.js.php.

$language = elgg_extract('language', $vars, 'en')

$vars['language']

Definition at line 6 of file languages.js.php.

$translations = $all_translations['en']

Definition at line 9 of file languages.js.php.

if ($language!= 'en'&&!isset($all_translations[$language])) if($language!= 'en'&&isset($all_translations[$language]))

Definition at line 17 of file languages.js.php.