Implements: Kohana_Cache_Tagging
Kohana Cache Tagging Interface
Class declared in MODPATH/cache/classes/Cache/Tagging.php on line 3.
Delete cache entries based on a tag
string
$tag
required - Tag label identifying cache entries to be deleted. public function delete_tag($tag);
Find cache entries based on a tag
string
$tag
required - Tag label used to find associated cache entries. arraypublic function find($tag);
Set a value based on an id. Optionally add tags.
Note : Some caching engines do not support tagging
string
$id
required - Id mixed
$data
required - Data int|null
$lifetime
= NULL - Lifetime [Optional] array|null
$tags
= NULL - Tags [Optional] boolpublic function set_with_tags($id, $data, $lifetime = null, array $tags = null);