TYPO3 API  SVNRelease
Public Member Functions | Protected Attributes
t3lib_cache_Factory Class Reference
Inheritance diagram for t3lib_cache_Factory:
Inheritance graph
[legend]
Collaboration diagram for t3lib_cache_Factory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 setCacheManager (t3lib_cache_Manager $cacheManager)
 create ($cacheIdentifier, $cacheName, $backendName, array $backendOptions=array())

Protected Attributes

 $cacheManager

Detailed Description

Definition at line 38 of file class.t3lib_cache_factory.php.


Member Function Documentation

t3lib_cache_Factory::create ( cacheIdentifier,
cacheName,
backendName,
array $  backendOptions = array() 
)

Factory method which creates the specified cache along with the specified kind of backend. After creating the cache, it will be registered at the cache manager.

Parameters:
string$cacheIdentifierThe name / identifier of the cache to create
string$cacheNameName of the cache frontend
string$backendNameName of the cache backend
array$backendOptions(optional) Array of backend options
Returns:
t3lib_cache_frontend_Frontend The created cache frontend
Author:
Robert Lemke <robert@typo3.org>

Definition at line 72 of file class.t3lib_cache_factory.php.

References $GLOBALS, t3lib_div\deprecationLog(), t3lib_div\getFileAbsFileName(), t3lib_div\makeInstance(), and t3lib_div\requireOnce().

t3lib_cache_Factory::setCacheManager ( t3lib_cache_Manager cacheManager)

Injects the cache manager.

This is called by the cache manager itself

Parameters:
t3lib_cache_Manager$cacheManagerThe cache manager
Returns:
void
Author:
Robert Lemke <robert@typo3.org>

Definition at line 57 of file class.t3lib_cache_factory.php.

References $cacheManager.


Member Data Documentation

t3lib_cache_Factory::$cacheManager [protected]

Definition at line 45 of file class.t3lib_cache_factory.php.

Referenced by setCacheManager().


The documentation for this class was generated from the following file: