Zend_Cache_Backend_TwoLevelsImplements interfaces:
Located in /Cache/Backend/TwoLevels.php (line 42)
Zend_Cache_Backend | --Zend_Cache_Backend_TwoLevels
boolean
save
(string $data, string $id, [array $tags = array()], [int $specificLifetime = false], [int $priority = 8])
Zend_Cache_Backend
$_fastBackend
(line 105)
Fast Backend
int
$_fastBackendFillingPercentage
= null (line 112)
Cache for the fast backend filling percentage
array
$_options
= array(Available options
=====> (string) slow_backend :
Zend_Cache_Backend
$_slowBackend
(line 98)
Slow Backend
Inherited from Zend_Cache_Backend
Zend_Cache_Backend::$_directives
Constructor __construct (line 121)
Constructor
clean (line 279)
Clean some cache records
Available modes are : Zend_Cache::CLEANING_MODE_ALL (default) => remove all cache entries ($tags is not used) Zend_Cache::CLEANING_MODE_OLD => remove too old cache entries ($tags is not used) Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags ($tags can be an array of strings or a single string) Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} ($tags can be an array of strings or a single string) Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags ($tags can be an array of strings or a single string)
getCapabilities (line 434)
Return an associative array of capabilities (booleans) of the backend
The array must include these keys :
getFillingPercentage (line 387)
Return the filling percentage of the backend storage
getIds (line 327)
Return an array of stored cache ids
getIdsMatchingAnyTags (line 376)
Return an array of stored cache ids which match any given tags
In case of multiple tags, a logical AND is made between tags
getIdsMatchingTags (line 350)
Return an array of stored cache ids which match given tags
In case of multiple tags, a logical AND is made between tags
getIdsNotMatchingTags (line 363)
Return an array of stored cache ids which don't match given tags
In case of multiple tags, a logical OR is made between tags
getMetadatas (line 403)
Return an array of metadatas for the given cache id
The array must include these keys :
getTags (line 337)
Return an array of stored tags
load (line 219)
Test if a cache is available for the given id and (if yes) return it (false else)
Note : return value is always "string" (unserialization is done by the core not by the backend)
remove (line 254)
Remove a cache record
save (line 190)
Save some string datas into a cache record
Note : $data is always "string" (serialization is done by the core not by the backend)
test (line 167)
Test if a cache is available or not (for the given id)
touch (line 415)
Give (if possible) an extra lifetime to the given cache id
___expire (line 501)
PUBLIC METHOD FOR UNIT TESTING ONLY !
Force a cache record to expire
Inherited From Zend_Cache_Backend
Zend_Cache_Backend::__construct()
Zend_Cache_Backend::getLifetime()
Zend_Cache_Backend::getTmpDir()
Zend_Cache_Backend::isAutomaticCleaningAvailable()
Zend_Cache_Backend::setDirectives()
Zend_Cache_Backend::setOption()
Zend_Cache_Backend::_isGoodTmpDir()
Zend_Cache_Backend::_log()
Zend_Cache_Backend::_loggerSanity()
Documentation generated on Mon, 21 Jun 2010 15:50:11 -0400 by phpDocumentor 1.4.3