|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| setCacheConfigurations (array $cacheConfigurations) | |
| setCacheFactory (t3lib_cache_Factory $cacheFactory) | |
| initialize () | |
| registerCache (t3lib_cache_frontend_Frontend $cache) | |
| getCache ($identifier) | |
| hasCache ($identifier) | |
| flushCaches () | |
| flushCachesByTag ($tag) | |
Protected Attributes | |
| $cacheFactory | |
| $caches = array() | |
| $cacheConfigurations = array() | |
Definition at line 36 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::flushCaches | ( | ) |
Flushes all registered caches
Definition at line 167 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::flushCachesByTag | ( | $ | tag | ) |
Flushes entries tagged by the specified tag of all registered caches.
| string | Tag to search for |
Definition at line 181 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::getCache | ( | $ | identifier | ) |
Returns the cache specified by $identifier
| string | Identifies which cache to return |
| t3lib_cache_exception_NoSuchCache |
Definition at line 139 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::hasCache | ( | $ | identifier | ) |
Checks if the specified cache has been registered.
| string | The identifier of the cache |
Definition at line 157 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::initialize | ( | ) |
Initializes the cache manager
Definition at line 99 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::registerCache | ( | t3lib_cache_frontend_Frontend $ | cache | ) |
Registers a cache so it can be retrieved at a later point.
| t3lib_cache_frontend_Frontend | The cache frontend to be registered |
| t3lib_cache_exception_DuplicateIdentifier | if a cache with the given identifier has already been registered. |
Definition at line 118 of file class.t3lib_cache_manager.php.
References t3lib_cache_frontend_Frontend\getIdentifier().
| t3lib_cache_Manager::setCacheConfigurations | ( | array $ | cacheConfigurations | ) |
Sets configurations for caches. The key of each entry specifies the cache identifier and the value is an array of configuration options. Possible options are:
frontend backend backendOptions
If one of the options is not specified, the default value is assumed. Existing cache configurations are preserved.
| array | The cache configurations to set |
Definition at line 69 of file class.t3lib_cache_manager.php.
| t3lib_cache_Manager::setCacheFactory | ( | t3lib_cache_Factory $ | cacheFactory | ) |
Injects the cache factory
| t3lib_cache_Factory | The cache factory |
Definition at line 87 of file class.t3lib_cache_manager.php.
References $cacheFactory.
t3lib_cache_Manager::$cacheConfigurations = array() [protected] |
Definition at line 50 of file class.t3lib_cache_manager.php.
t3lib_cache_Manager::$cacheFactory [protected] |
Definition at line 40 of file class.t3lib_cache_manager.php.
Referenced by setCacheFactory().
t3lib_cache_Manager::$caches = array() [protected] |
Definition at line 45 of file class.t3lib_cache_manager.php.
1.7.5.1