|
| __construct () |
|
| txt ($a_topic, $a_default_lang_fallback_mod="") |
|
| toJS ($a_key, ilTemplate $a_tpl=null) |
|
| __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, ilTemplate $a_tpl=null) |
|
| toJSMap ($a_map, ilTemplate $a_tpl=null) |
| Transfer text to Javascript. More...
|
|
| __destruct () |
| destructor saves all language usages to db if log is enabled and ilDB exists More...
|
|
| __construct ($a_lang_key) |
| Constructor read the single-language file and put this in an array text. More...
|
|
| txt ($a_topic) |
| gets the text for a given topic More...
|
|
| getLanguages () |
| get all setup languages in the system More...
|
|
| installLanguages ($a_lang_keys, $a_local_keys) |
| install languages More...
|
|
| getInstalledLanguages () |
| get already installed languages (in db) More...
|
|
| getInstalledLocalLanguages () |
| get already installed local languages (in db) More...
|
|
| getAvailableLanguages () |
| get already registered languages (in db) More...
|
|
| checkLanguage ($a_lang_key, $scope='') |
| validate the logical structure of a lang-file More...
|
|
| cut_header ($content) |
| Remove *.lang header information from '$content'. More...
|
|
| flushLanguage ($a_lang_key, $a_mode='all') |
| remove language data from database More...
|
|
| getLocalChanges ($a_lang_key, $a_min_date="", $a_max_date="") |
| get locally changed language entries More...
|
|
| insertLanguage ($lang_key, $scope='') |
| insert language data from file in database More...
|
|
| getLocalLanguages () |
| Searches for the existence of *.lang.local files. More...
|
|
| getInstallableLanguages () |
|
| setDbHandler ($a_db_handler) |
| set db handler object object db handler More...
|
|
| loadLanguageModule () |
|
|
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 | _deleteLangData ($a_lang_key, $a_keep_local_change) |
| Delete languge data. More...
|
|
static | replaceLangModule ($a_key, $a_module, $a_array) |
| Replace language module array. More...
|
|
static | replaceLangEntry ( $a_module, $a_identifier, $a_lang_key, $a_value, $a_local_change=null) |
| Replace lang entry. More...
|
|
static | updateLangEntry ( $a_module, $a_identifier, $a_lang_key, $a_value, $a_local_change=null) |
| Update lang entry. More...
|
|
static | logUsage ($a_module, $a_identifier) |
| saves tupel of language module and identifier More...
|
|
| $cached_modules = array() |
|
| $map_modules_txt = array() |
|
| $usage_log_enabled = false |
|
static | $used_topics = array() |
|
static | $used_modules = array() |
|
static | $lng_log = array() |
|
Definition at line 103 of file Base.php.