ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct () | |
txt ($a_topic, $a_default_lang_fallback_mod="") | |
toJS ($a_lang_key, ilGlobalTemplateInterface $a_tpl=null) | |
loadLanguageModule ($lang_module) | |
![]() | |
__construct ($a_lang_key) | |
Constructor read the single-language file and put this in an array text. More... | |
getLangKey () | |
getDefaultLanguage () | |
txtlng ($a_module, $a_topic, $a_language) | |
gets the text for a given topic in a given language if the topic is not in the list, the topic itself with "-" will be returned More... | |
txt ($a_topic, $a_default_lang_fallback_mod="") | |
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be returned More... | |
exists ($a_topic) | |
Check if language entry exists. More... | |
loadLanguageModule ($a_module) | |
getInstalledLanguages () | |
getUsedTopics () | |
getUsedModules () | |
getUserLanguage () | |
toJS ($a_lang_key, ilGlobalTemplateInterface $a_tpl=null) | |
toJSMap ($a_map, ilGlobalTemplateInterface $a_tpl=null) | |
Transfer text to Javascript. More... | |
__destruct () | |
destructor saves all language usages to db if log is enabled and ilDB exists More... | |
Data Fields | |
$requested = array() | |
$lang_module = 'common' | |
![]() | |
$ilias | |
$text | |
$lang_default | |
$lang_user | |
$lang_path | |
$lang_key | |
$lang_name | |
$separator = "#:#" | |
$comment_separator = "###" | |
$loaded_modules | |
Additional Inherited Members | |
![]() | |
static | _getInstalledLanguages () |
static | _lookupEntry ($a_lang_key, $a_mod, $a_id) |
static | lookupId ($a_lang_key) |
Lookup obj_id of language ilDB $ilDB. More... | |
static | getFallbackInstance () |
Builds a global default language instance. More... | |
static | getGlobalInstance () |
Builds the global language object. More... | |
![]() | |
static | logUsage ($a_module, $a_identifier) |
saves tupel of language module and identifier More... | |
static | isUsageLogEnabled () |
checks if language usage log is enabled you need MySQL to use this function this function is automatically enabled if DEVMODE is on this function is also enabled if language_log is 1 More... | |
![]() | |
$cached_modules = array() | |
$map_modules_txt = array() | |
$usage_log_enabled = false | |
![]() | |
static | $used_topics = array() |
static | $used_modules = array() |
static | $lng_log = array() |
ilLanguageMock::loadLanguageModule | ( | $lang_module | ) |
ilLanguageMock::toJS | ( | $a_lang_key, | |
ilGlobalTemplateInterface | $a_tpl = null |
||
) |
ilLanguageMock::txt | ( | $a_topic, | |
$a_default_lang_fallback_mod = "" |
|||
) |