Свойство | Тип | Описание | |
---|---|---|---|
$checkedCacheConsistency | boolean | ||
$db | Zend_Db_Adapter_Abstract |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Zend_Db_Adapter_Abstract |
public getIdsMatchingAnyTags ( array $tags = [] ) : array | ||
$tags | array | |
Результат | array |
public getIdsMatchingTags ( array $tags = [] ) : array | ||
$tags | array | |
Результат | array |
protected getItemsByTag ( string $tag ) : array | ||
$tag | string | |
Результат | array |
protected getTagsById ( string $id ) : array | ||
$id | string | |
Результат | 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) |
Результат | boolean | True if no problem |
protected bool $checkedCacheConsistency | ||
Результат | boolean |