|
| __construct () |
|
| 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...
|
|
| 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...
|
|
Definition at line 127 of file Base.php.
◆ __construct()
ilLanguageMock::__construct |
( |
| ) |
|
◆ loadLanguageModule()
ilLanguageMock::loadLanguageModule |
( |
|
$lang_module | ) |
|
◆ toJS()
◆ txt()
ilLanguageMock::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
@access public
- Parameters
-
- Returns
- string text clear-text
Reimplemented from ilLanguage.
Definition at line 133 of file Base.php.
134 {
135 $this->requested[] = $a_topic;
136 return $a_topic;
137 }
◆ $lang_module
ilLanguageMock::$lang_module = 'common' |
◆ $requested
ilLanguageMock::$requested = array() |
The documentation for this class was generated from the following file: