ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilCachedLanguage. More...
Public Member Functions | |
isActive () | |
writeToCache () | |
flush () | |
setLanguageKey ($language_key) | |
getLanguageKey () | |
setLoaded ($loaded) | |
getLoaded () | |
setTranslations ($translations) | |
getTranslations () | |
Static Public Member Functions | |
static | getInstance ($key) |
Protected Member Functions | |
readFromCache () | |
Protected Attributes | |
$global_cache | |
$loaded = false | |
$language_key = 'en' | |
$translations = array() | |
Static Protected Attributes | |
static | $instances = array() |
ilCachedLanguage::flush | ( | ) |
Definition at line 114 of file class.ilCachedLanguage.php.
References writeToCache().
|
static |
$key |
Definition at line 104 of file class.ilCachedLanguage.php.
References $key.
Referenced by ilLanguage\__construct(), and ilObjLanguageExt\_saveValues().
ilCachedLanguage::getLanguageKey | ( | ) |
Definition at line 136 of file class.ilCachedLanguage.php.
References $language_key.
Referenced by readFromCache(), and writeToCache().
ilCachedLanguage::getLoaded | ( | ) |
ilCachedLanguage::getTranslations | ( | ) |
Definition at line 172 of file class.ilCachedLanguage.php.
References $translations.
Referenced by writeToCache().
ilCachedLanguage::isActive | ( | ) |
Definition at line 54 of file class.ilCachedLanguage.php.
|
protected |
Definition at line 60 of file class.ilCachedLanguage.php.
References $translations, getLanguageKey(), setLoaded(), and setTranslations().
ilCachedLanguage::setLanguageKey | ( | $language_key | ) |
string | $language_key |
Definition at line 127 of file class.ilCachedLanguage.php.
References $language_key.
ilCachedLanguage::setLoaded | ( | $loaded | ) |
boolean | $loaded |
Definition at line 145 of file class.ilCachedLanguage.php.
References $loaded.
Referenced by readFromCache().
ilCachedLanguage::setTranslations | ( | $translations | ) |
array | $translations |
Definition at line 163 of file class.ilCachedLanguage.php.
References $translations.
Referenced by readFromCache(), and writeToCache().
ilCachedLanguage::writeToCache | ( | ) |
Definition at line 72 of file class.ilCachedLanguage.php.
References $ilDB, $res, $translations, array, getLanguageKey(), getTranslations(), and setTranslations().
Referenced by flush().
|
protected |
Definition at line 12 of file class.ilCachedLanguage.php.
|
staticprotected |
Definition at line 28 of file class.ilCachedLanguage.php.
|
protected |
Definition at line 20 of file class.ilCachedLanguage.php.
Referenced by getLanguageKey(), and setLanguageKey().
|
protected |
Definition at line 16 of file class.ilCachedLanguage.php.
Referenced by getLoaded(), and setLoaded().
|
protected |
Definition at line 24 of file class.ilCachedLanguage.php.
Referenced by getTranslations(), readFromCache(), setTranslations(), and writeToCache().