|
ILIAS
release_8 Revision v8.24
|
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 (int $service) | |
| getActivatedComponents () | |
| setActivatedComponents (array $activated_components) | |
| isActive () | |
| setActive (bool $active) | |
| getLogLevel () | |
| setLogLevel (int $log_level) | |
| __toString () | |
| addMemcachedNode (ilMemcacheServer $node_id) | |
| getMemcachedNodes () | |
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 (int $level) | |
Protected Attributes | |
| int | $service = ilGlobalCache::TYPE_STATIC |
| array | $activated_components = [] |
| bool | $active = false |
| int | $log_level = self::LOG_LEVEL_NONE |
| array | $memcached_nodes = [] |
Class ilGlobalCacheSettings.
Definition at line 26 of file class.ilGlobalCacheSettings.php.
| ilGlobalCacheSettings::__toString | ( | ) |
Definition at line 232 of file class.ilGlobalCacheSettings.php.
References $log_level, $service, getActivatedComponents(), getLogLevelName(), getService(), and ilGlobalCache\lookupServiceClassName().
Here is the call graph for this function:| ilGlobalCacheSettings::activateAll | ( | ) |
Definition at line 144 of file class.ilGlobalCacheSettings.php.
References addActivatedComponent(), and ilGlobalCache\getAvailableComponents().
Here is the call graph for this function:| ilGlobalCacheSettings::addActivatedComponent | ( | $component | ) |
| mixed | $component |
Definition at line 154 of file class.ilGlobalCacheSettings.php.
Referenced by activateAll(), and readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::addMemcachedNode | ( | ilMemcacheServer | $node_id | ) |
Definition at line 264 of file class.ilGlobalCacheSettings.php.
| ilGlobalCacheSettings::areAllComponentActivated | ( | ) |
Definition at line 173 of file class.ilGlobalCacheSettings.php.
References ilGlobalCache\getAvailableComponents().
Here is the call graph for this function:
|
protected |
Definition at line 210 of file class.ilGlobalCacheSettings.php.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::getActivatedComponents | ( | ) |
Definition at line 190 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 222 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 247 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::getMemcachedNodes | ( | ) |
Definition at line 269 of file class.ilGlobalCacheSettings.php.
References $memcached_nodes.
| ilGlobalCacheSettings::getService | ( | ) |
Definition at line 180 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 200 of file class.ilGlobalCacheSettings.php.
References $active.
Referenced by readFromIniFile(), and writeToIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::isComponentActivated | ( | $component | ) |
| mixed | $component |
Definition at line 168 of file class.ilGlobalCacheSettings.php.
Referenced by writeToIniFile().
Here is the caller graph for this function:
|
protected |
Definition at line 252 of file class.ilGlobalCacheSettings.php.
Referenced by getLogLevelName().
Here is the caller graph for this function:| ilGlobalCacheSettings::readFromIniFile | ( | ilIniFile | $ilIniFile | ) |
Definition at line 77 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 160 of file class.ilGlobalCacheSettings.php.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setActivatedComponents | ( | array | $activated_components | ) |
Definition at line 195 of file class.ilGlobalCacheSettings.php.
References $activated_components.
| ilGlobalCacheSettings::setActive | ( | bool | $active | ) |
Definition at line 205 of file class.ilGlobalCacheSettings.php.
References $active.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setLogLevel | ( | int | $log_level | ) |
Definition at line 227 of file class.ilGlobalCacheSettings.php.
References $log_level.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::setService | ( | int | $service | ) |
Definition at line 185 of file class.ilGlobalCacheSettings.php.
References $service.
Referenced by readFromIniFile().
Here is the caller graph for this function:| ilGlobalCacheSettings::writeToIniFile | ( | ilIniFile | $ilIniFile | ) |
Definition at line 114 of file class.ilGlobalCacheSettings.php.
References ilGlobalCache\getAvailableComponents(), getLogLevel(), getService(), isActive(), isComponentActivated(), and ilIniFile\write().
Here is the call graph for this function:
|
protected |
Definition at line 69 of file class.ilGlobalCacheSettings.php.
Referenced by getActivatedComponents(), and setActivatedComponents().
|
protected |
Definition at line 70 of file class.ilGlobalCacheSettings.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 71 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getLogLevel(), and setLogLevel().
|
protected |
Definition at line 75 of file class.ilGlobalCacheSettings.php.
Referenced by getMemcachedNodes().
|
protected |
Definition at line 68 of file class.ilGlobalCacheSettings.php.
Referenced by __toString(), getService(), and setService().
| const ilGlobalCacheSettings::INI_FIELD_ACTIVATE_GLOBAL_CACHE = 'activate_global_cache' |
Definition at line 55 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_GLOBAL_CACHE_SERVICE_TYPE = 'global_cache_service_type' |
Definition at line 59 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_FIELD_LOG_LEVEL = 'log_level' |
Definition at line 67 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE = 'cache' |
Definition at line 51 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::INI_HEADER_CACHE_ACTIVATED_COMPONENTS = 'cache_activated_components' |
Definition at line 63 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_CHATTY = 3 |
Definition at line 47 of file class.ilGlobalCacheSettings.php.
Referenced by ilGlobalCache\get(), ilGlobalCache\isActive(), and ilGlobalCache\set().
| const ilGlobalCacheSettings::LOG_LEVEL_FORCED = -1 |
Definition at line 31 of file class.ilGlobalCacheSettings.php.
Referenced by HTML_Template_IT\init().
| const ilGlobalCacheSettings::LOG_LEVEL_NONE = 0 |
Definition at line 35 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_NORMAL = 2 |
Definition at line 43 of file class.ilGlobalCacheSettings.php.
| const ilGlobalCacheSettings::LOG_LEVEL_SHY = 1 |
Definition at line 39 of file class.ilGlobalCacheSettings.php.