Property | Type | Description | |
---|---|---|---|
$checkedCacheConsistency | boolean | ||
$db | Zend_Db_Adapter_Abstract |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) | ||
clean ( string $mode = Zend_Cache::CLEANING_MODE_ALL, array $tags = [] ) : boolean | Clean some cache records | |
getCapabilities ( ) : array | ||
getIdsMatchingAnyTags ( array $tags = [] ) : array | ||
getIdsMatchingTags ( array $tags = [] ) : array | ||
load ( $id, boolean $doNotTestCacheValidity = false ) : void | ||
remove ( string $id ) : boolean | ||
save ( string $data, string $id, array $tags = [], integer $specificLifetime = false ) : boolean | Save some string datas into a cache record |
Method | Description | |
---|---|---|
checkCacheConsistency ( ) : void | ||
clearTags ( ) : void | ||
getDb ( ) : Zend_Db_Adapter_Abstract | ||
getItemsByTag ( string $tag ) : array | ||
getTagsById ( string $id ) : array | ||
saveTags ( string $id, array $tags ) : void |
protected getDb ( ) : Zend_Db_Adapter_Abstract | ||
return | Zend_Db_Adapter_Abstract |
public getIdsMatchingAnyTags ( array $tags = [] ) : array | ||
$tags | array | |
return | array |
public getIdsMatchingTags ( array $tags = [] ) : array | ||
$tags | array | |
return | array |
protected getItemsByTag ( string $tag ) : array | ||
$tag | string | |
return | array |
protected getTagsById ( string $id ) : array | ||
$id | string | |
return | array | tags for given id |
public save ( string $data, string $id, array $tags = [], integer $specificLifetime = false ) : boolean | ||
$data | string | Datas to cache |
$id | string | Cache id |
$tags | array | Array of strings, the cache record will be tagged by each string entry |
$specificLifetime | integer | If != false, set a specific lifetime for this cache record (null => infinite lifetime) |
return | boolean | True if no problem |
protected bool $checkedCacheConsistency | ||
return | boolean |