Method |
Description |
|
___expire ( string $id ) : void |
Expires a record (mostly used for testing purposes) |
|
__construct ( $options ) : void |
|
|
clean ( string $mode = Zend_Cache::CLEANING_MODE_ALL, array $tags = [] ) : boolean |
Clean some cache records (protected method used for recursive stuff) |
|
drop ( ) |
|
|
get ( integer $id ) : array | false |
|
|
getCapabilities ( ) : array |
Return an associative array of capabilities (booleans) of the backend |
|
getFillingPercentage ( ) : integer |
No way to find the remaining space right now. So return 1. |
|
getIds ( ) : array |
Return an array of stored cache ids |
|
getIdsMatchingAnyTags ( array $tags = [] ) : array |
Return an array of stored cache ids which match any given tags |
|
getIdsMatchingTags ( array $tags = [] ) : array |
Return an array of stored cache ids which match given tags |
|
getIdsNotMatchingTags ( array $tags = [] ) : array |
Return an array of stored cache ids which don't match given tags |
|
getMetadatas ( string $id ) : array |
Return an array of metadatas for the given cache id |
|
getTags ( ) : array |
Return an array of stored tags |
|
isAutomaticCleaningAvailable ( ) : boolean |
Return true if the automatic cleaning is available for the backend |
|
load ( string $id, boolean $doNotTestCacheValidity = false ) : string | false |
Test if a cache is available for the given id and (if yes) return it (false else) |
|
remove ( string $id ) : boolean |
Remove a cache record |
|
save ( string $data, string $id, array $tags = [], integer $specificLifetime = false ) : boolean |
Save some string datas into a cache record |
|
set ( integer $id, array $data, integer $lifetime, mixed $tags ) : boolean |
|
|
setDirectives ( array $directives ) |
Set the frontend directives |
|
test ( string $id ) : mixed | false |
Test if a cache is available or not (for the given id) |
|
touch ( string $id, integer $extraLifetime ) : boolean |
Give (if possible) an extra lifetime to the given cache id |
|