ILIAS
Release_5_0_x_branch Revision 61816
|
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 108 of file class.ilCachedLanguage.php.
References writeToCache().
|
static |
$key |
Definition at line 99 of file class.ilCachedLanguage.php.
Referenced by ilObjLanguageExt\_saveValues(), and ilLanguage\ilLanguage().
ilCachedLanguage::getLanguageKey | ( | ) |
Definition at line 128 of file class.ilCachedLanguage.php.
References $language_key.
Referenced by readFromCache(), and writeToCache().
ilCachedLanguage::getLoaded | ( | ) |
ilCachedLanguage::getTranslations | ( | ) |
Definition at line 160 of file class.ilCachedLanguage.php.
References $translations.
Referenced by writeToCache().
ilCachedLanguage::isActive | ( | ) |
Definition at line 53 of file class.ilCachedLanguage.php.
|
protected |
Definition at line 58 of file class.ilCachedLanguage.php.
References $translations, getLanguageKey(), setLoaded(), and setTranslations().
ilCachedLanguage::setLanguageKey | ( | $language_key | ) |
string | $language_key |
Definition at line 120 of file class.ilCachedLanguage.php.
References $language_key.
ilCachedLanguage::setLoaded | ( | $loaded | ) |
boolean | $loaded |
Definition at line 136 of file class.ilCachedLanguage.php.
References $loaded.
Referenced by readFromCache().
ilCachedLanguage::setTranslations | ( | $translations | ) |
array | $translations |
Definition at line 152 of file class.ilCachedLanguage.php.
References $translations.
Referenced by readFromCache().
ilCachedLanguage::writeToCache | ( | ) |
Definition at line 69 of file class.ilCachedLanguage.php.
References getLanguageKey(), and getTranslations().
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(), and setTranslations().