Zend_Cache_Backend_TestImplements interfaces:
Located in /Cache/Backend/Test.php (line 40)
Zend_Cache_Backend | --Zend_Cache_Backend_Test
array
$_directives
= array() (line 54)
Frontend or Core directives
array
$_options
= array() (line 47)
Available options
Constructor __construct (line 76)
Constructor
clean (line 206)
Clean some cache records
For this test backend only, if $mode == 'false', then the method will return false (true else)
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)
getAllLogs (line 240)
Get the complete log array
getCapabilities (line 382)
Return an associative array of capabilities (booleans) of the backend
The array must include these keys :
getFillingPercentage (line 335)
Return the filling percentage of the backend storage
getIds (line 260)
Return an array of stored cache ids
getIdsMatchingAnyTags (line 321)
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 287)
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 304)
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
getLastLog (line 220)
Get the last log
getLogIndex (line 230)
Get the log index
getMetadatas (line 351)
Return an array of metadatas for the given cache id
The array must include these keys :
getTags (line 272)
Return an array of stored tags
isAutomaticCleaningAvailable (line 250)
Return true if the automatic cleaning is available for the backend
load (line 103)
Test if a cache is available for the given id and (if yes) return it (false else)
For this test backend only, if $id == 'false', then the method will return false if $id == 'serialized', the method will return a serialized array ('foo' else)
remove (line 179)
Remove a cache record
For this test backend only, if $id == 'false', then the method will return false (true else)
save (line 161)
Save some string datas into a cache record
For this test backend only, if $id == 'false', then the method will return false (true else)
setDirectives (line 87)
Set the frontend directives
test (line 137)
Test if a cache is available or not (for the given id)
For this test backend only, if $id == 'false', then the method will return false (123456 else)
touch (line 363)
Give (if possible) an extra lifetime to the given cache id
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:48:34 -0400 by phpDocumentor 1.4.3