|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilGlobalCacheSettings. More...
Inheritance diagram for ilGlobalCacheSettings:
Collaboration diagram for ilGlobalCacheSettings:Public Member Functions | |
| readFromIniFile (ilIniFile $ilIniFile) | |
| writeToIniFile (ilIniFile $ilIniFile) | |
| activateAll () | |
| addActivatedComponent ($component) | |
| resetActivatedComponents () | |
| isComponentActivated ($component) | |
| areAllComponentActivated () | |
| getService () | |
| setService ($service) | |
| getActivatedComponents () | |
| setActivatedComponents ($activated_components) | |
| isActive () | |
| setActive ($active) | |
| getLogLevel () | |
| setLogLevel ($log_level) | |
| __toString () | |
Data Fields | |
| const | LOG_LEVEL_FORCED = -1 |
| const | LOG_LEVEL_NONE = 0 |
| const | LOG_LEVEL_SHY = 1 |
| const | LOG_LEVEL_NORMAL = 2 |
| const | LOG_LEVEL_CHATTY = 3 |
| const | INI_HEADER_CACHE = 'cache' |
| const | INI_FIELD_ACTIVATE_GLOBAL_CACHE = 'activate_global_cache' |
| const | INI_FIELD_GLOBAL_CACHE_SERVICE_TYPE = 'global_cache_service_type' |
| const | INI_HEADER_CACHE_ACTIVATED_COMPONENTS = 'cache_activated_components' |
| const | INI_FIELD_LOG_LEVEL = 'log_level' |
Protected Member Functions | |
| checkIniHeader (ilIniFile $ilIniFile) | |
| getLogLevelName () | |
| lookupLogLevelName ($level) | |
Protected Attributes | |
| $service = ilGlobalCache::TYPE_STATIC | |
| $activated_components = array() | |
| $active = false | |
| $log_level = self::LOG_LEVEL_NONE | |
Class ilGlobalCacheSettings.
Definition at line 12 of file class.ilGlobalCacheSettings.php.
| ilGlobalCacheSettings::__toString | ( | ) |
Definition at line 216 of file class.ilGlobalCacheSettings.php.
References $log_level, $service, getActivatedComponents(), getLogLevelName(), getService(), and ilGlobalCache\lookupServiceClassName().
Referenced by writeToIniFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalCacheSettings::activateAll | ( | ) |
Definition at line 86 of file class.ilGlobalCacheSettings.php.
References addActivatedComponent(), and ilGlobalCache\getAvailableComponents().
Here is the call graph for this function:| ilGlobalCacheSettings::addActivatedComponent | ( | $component | ) |
| $component |
Definition at line 97 of file class.ilGlobalCacheSettings.php.
Referenced by activateAll(), and readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::areAllComponentActivated | ( | ) |
Definition at line 124 of file class.ilGlobalCacheSettings.php.
References ilGlobalCache\getAvailableComponents().
Here is the call graph for this function:
|
protected |
| ilIniFile | $ilIniFile |
Definition at line 187 of file class.ilGlobalCacheSettings.php.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::getActivatedComponents | ( | ) |
Definition at line 151 of file class.ilGlobalCacheSettings.php.
References $activated_components.
Referenced by __toString(), and ilGlobalCache\setup().
Here is the caller graph for this function:| ilGlobalCacheSettings::getLogLevel | ( | ) |
Definition at line 201 of file class.ilGlobalCacheSettings.php.
References $log_level.
Referenced by getLogLevelName(), and writeToIniFile().
Here is the caller graph for this function:
|
protected |
Definition at line 229 of file class.ilGlobalCacheSettings.php.
References getLogLevel(), and lookupLogLevelName().
Referenced by __toString().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalCacheSettings::getService | ( | ) |
Definition at line 133 of file class.ilGlobalCacheSettings.php.
References $service.
Referenced by __toString(), and writeToIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::isActive | ( | ) |
Definition at line 169 of file class.ilGlobalCacheSettings.php.
References $active.
Referenced by readFromIniFile(), and writeToIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::isComponentActivated | ( | $component | ) |
| $component |
Definition at line 115 of file class.ilGlobalCacheSettings.php.
Referenced by writeToIniFile().
Here is the caller graph for this function:
|
protected |
| $level |
Definition at line 240 of file class.ilGlobalCacheSettings.php.
Referenced by getLogLevelName().
Here is the caller graph for this function:| ilGlobalCacheSettings::readFromIniFile | ( | ilIniFile | $ilIniFile | ) |
| ilIniFile | $ilIniFile |
Definition at line 45 of file class.ilGlobalCacheSettings.php.
References addActivatedComponent(), checkIniHeader(), isActive(), resetActivatedComponents(), setActive(), setLogLevel(), and setService().
Here is the call graph for this function:| ilGlobalCacheSettings::resetActivatedComponents | ( | ) |
Definition at line 104 of file class.ilGlobalCacheSettings.php.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setActivatedComponents | ( | $activated_components | ) |
| array | $activated_components |
Definition at line 160 of file class.ilGlobalCacheSettings.php.
References $activated_components.
| ilGlobalCacheSettings::setActive | ( | $active | ) |
| boolean | $active |
Definition at line 178 of file class.ilGlobalCacheSettings.php.
References $active.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setLogLevel | ( | $log_level | ) |
| int | $log_level |
Definition at line 210 of file class.ilGlobalCacheSettings.php.
References $log_level.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setService | ( | $service | ) |
| int | $service |
Definition at line 142 of file class.ilGlobalCacheSettings.php.
References $service.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::writeToIniFile | ( | ilIniFile | $ilIniFile | ) |
| ilIniFile | $ilIniFile |
Definition at line 69 of file class.ilGlobalCacheSettings.php.
References __toString(), ilGlobalCache\getAvailableComponents(), getLogLevel(), getService(), isActive(), isComponentActivated(), ilGlobalCache\log(), and ilIniFile\write().
Here is the call graph for this function:
|
protected |
Definition at line 31 of file class.ilGlobalCacheSettings.php.
Referenced by getActivatedComponents(), and setActivatedComponents().
|
protected |
Definition at line 35 of file class.ilGlobalCacheSettings.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 39 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getLogLevel(), and setLogLevel().
|
protected |
Definition at line 27 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getService(), and setService().
| const ilGlobalCacheSettings::INI_FIELD_ACTIVATE_GLOBAL_CACHE = 'activate_global_cache' |
Definition at line 20 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_GLOBAL_CACHE_SERVICE_TYPE = 'global_cache_service_type' |
Definition at line 21 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_LOG_LEVEL = 'log_level' |
Definition at line 23 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE = 'cache' |
Definition at line 19 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE_ACTIVATED_COMPONENTS = 'cache_activated_components' |
Definition at line 22 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_CHATTY = 3 |
Definition at line 18 of file class.ilGlobalCacheSettings.php.
Referenced by ilGlobalCache\get(), ilGlobalCache\isActive(), and ilGlobalCache\set().
| const ilGlobalCacheSettings::LOG_LEVEL_FORCED = -1 |
Definition at line 14 of file class.ilGlobalCacheSettings.php.
Referenced by HTML_Template_IT\init().
| const ilGlobalCacheSettings::LOG_LEVEL_NONE = 0 |
Definition at line 15 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_NORMAL = 2 |
Definition at line 17 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_SHY = 1 |
Definition at line 16 of file class.ilGlobalCacheSettings.php.