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(string $tag);
Find cache entries based on a tag
string
$tag
required - Tag label used to find associated cache entries. arraypublic function find(string $tag): array;
Set a value based on an id. Optionally add tags.
Note : Some caching engines do not support tagging
string
$id
required - ID of cache entry mixed
$data
required - Data to set to cache int|null
$lifetime
= NULL - Lifetime in seconds array|null
$tags
= NULL - Tags to associate with the cache entry boolpublic function set_with_tags(string $id, $data, int $lifetime = null, array $tags = null): bool;