|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilGlobalCacheSettings. More...
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 10 of file class.ilGlobalCacheSettings.php.
| ilGlobalCacheSettings::__toString | ( | ) |
Definition at line 214 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 84 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 95 of file class.ilGlobalCacheSettings.php.
Referenced by activateAll(), and readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::areAllComponentActivated | ( | ) |
Definition at line 122 of file class.ilGlobalCacheSettings.php.
References ilGlobalCache\getAvailableComponents().
Here is the call graph for this function:
|
protected |
| ilIniFile | $ilIniFile |
Definition at line 185 of file class.ilGlobalCacheSettings.php.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::getActivatedComponents | ( | ) |
Definition at line 149 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 199 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 227 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 131 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 167 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 113 of file class.ilGlobalCacheSettings.php.
Referenced by writeToIniFile().
Here is the caller graph for this function:
|
protected |
| $level |
Definition at line 238 of file class.ilGlobalCacheSettings.php.
References $r.
Referenced by getLogLevelName().
Here is the caller graph for this function:| ilGlobalCacheSettings::readFromIniFile | ( | ilIniFile | $ilIniFile | ) |
| ilIniFile | $ilIniFile |
Definition at line 43 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 102 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 158 of file class.ilGlobalCacheSettings.php.
References $activated_components.
| ilGlobalCacheSettings::setActive | ( | $active | ) |
| boolean | $active |
Definition at line 176 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 208 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 140 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 67 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 29 of file class.ilGlobalCacheSettings.php.
Referenced by getActivatedComponents(), and setActivatedComponents().
|
protected |
Definition at line 33 of file class.ilGlobalCacheSettings.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 37 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getLogLevel(), and setLogLevel().
|
protected |
Definition at line 25 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getService(), and setService().
| const ilGlobalCacheSettings::INI_FIELD_ACTIVATE_GLOBAL_CACHE = 'activate_global_cache' |
Definition at line 18 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_GLOBAL_CACHE_SERVICE_TYPE = 'global_cache_service_type' |
Definition at line 19 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_LOG_LEVEL = 'log_level' |
Definition at line 21 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE = 'cache' |
Definition at line 17 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE_ACTIVATED_COMPONENTS = 'cache_activated_components' |
Definition at line 20 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_CHATTY = 3 |
Definition at line 16 of file class.ilGlobalCacheSettings.php.
Referenced by ilGlobalCache\get(), ilGlobalCache\isActive(), and ilGlobalCache\set().
| const ilGlobalCacheSettings::LOG_LEVEL_FORCED = -1 |
Definition at line 12 of file class.ilGlobalCacheSettings.php.
Referenced by HTML_Template_IT\init().
| const ilGlobalCacheSettings::LOG_LEVEL_NONE = 0 |
Definition at line 13 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_NORMAL = 2 |
Definition at line 15 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_SHY = 1 |
Definition at line 14 of file class.ilGlobalCacheSettings.php.