ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilPluginInfo $plugin_info) | |
getAvailableLangFiles () | |
Get array of all language files in the plugin. More... | |
hasAvailableLangFiles () | |
getPrefix () | |
updateLanguages (?array $a_lang_keys=null) | |
uninstall () | |
loadLanguageModule () | |
Load language module for plugin. More... | |
txt (string $a_var) | |
Get Language Variable (prefix will be prepended automatically) More... | |
Protected Member Functions | |
getLanguageDirectory () | |
Protected Attributes | |
ilPluginInfo | $plugin_info |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 25 of file class.ilPluginLanguage.php.
ilPluginLanguage::__construct | ( | ilPluginInfo | $plugin_info | ) |
ilPluginLanguage::getAvailableLangFiles | ( | ) |
Get array of all language files in the plugin.
Definition at line 44 of file class.ilPluginLanguage.php.
References getLanguageDirectory().
Referenced by hasAvailableLangFiles(), and updateLanguages().
|
protected |
Definition at line 34 of file class.ilPluginLanguage.php.
Referenced by getAvailableLangFiles(), and updateLanguages().
ilPluginLanguage::getPrefix | ( | ) |
Definition at line 78 of file class.ilPluginLanguage.php.
References XapiProxy\$plugin, and $plugin_info.
Referenced by loadLanguageModule(), txt(), uninstall(), and updateLanguages().
ilPluginLanguage::hasAvailableLangFiles | ( | ) |
Definition at line 73 of file class.ilPluginLanguage.php.
References getAvailableLangFiles().
ilPluginLanguage::loadLanguageModule | ( | ) |
Load language module for plugin.
Definition at line 168 of file class.ilPluginLanguage.php.
References $DIC, $lng, and getPrefix().
Referenced by txt().
ilPluginLanguage::txt | ( | string | $a_var | ) |
Get Language Variable (prefix will be prepended automatically)
Definition at line 181 of file class.ilPluginLanguage.php.
References $DIC, $lng, getPrefix(), and loadLanguageModule().
ilPluginLanguage::uninstall | ( | ) |
Definition at line 145 of file class.ilPluginLanguage.php.
References $DIC, $ilDB, and getPrefix().
ilPluginLanguage::updateLanguages | ( | ?array | $a_lang_keys = null | ) |
Definition at line 92 of file class.ilPluginLanguage.php.
References Vendor\Package\$a, $lang, $txt, ilObjLanguage\_getLocalChangesByModule(), getAvailableLangFiles(), ilObjLanguage\getInstalledLanguages(), getLanguageDirectory(), getPrefix(), and ilObjLanguage\replaceLangEntry().
|
protected |
Definition at line 27 of file class.ilPluginLanguage.php.
Referenced by __construct(), and getPrefix().