Class Cache_Tagging

Cache_Tagging

extends Kohana_Cache_Tagging

Implements: Kohana_Cache_Tagging

Kohana Cache Tagging Interface

package
Kohana/Cache
category
Base
author
Kohana Team
copyright
(c) Kohana Team
license
https://koseven.ga/LICENSE.md


Constants

  • None

Properties

  • None

Methods

abstract public delete_tag(string $tag ) (defined in Kohana_Cache_Tagging)

Delete cache entries based on a tag

Parameters

  • string $tag required - Tag

Source Code

public function delete_tag($tag);

abstract public find(string $tag ) (defined in Kohana_Cache_Tagging)

Find cache entries based on a tag

Parameters

  • string $tag required - Tag

Return Values

  • array

Source Code

public function find($tag);

abstract public set_with_tags(string $id , mixed $data [, integer $lifetime = NULL , array $tags = NULL ] ) (defined in Kohana_Cache_Tagging)

Set a value based on an id. Optionally add tags.

Note : Some caching engines do not support tagging

Parameters

  • string $id required - Id
  • mixed $data required - Data
  • integer $lifetime = NULL - Lifetime [Optional]
  • array $tags = NULL - Tags [Optional]

Return Values

  • boolean

Source Code

public function set_with_tags($id, $data, $lifetime = NULL, array $tags = NULL);

Do you want to contribute to Koseven?

We need YOUR help!

This project is open source. What does this mean? YOU can help:
  • Found a bug? Report it on Github
  • Need a feature? Add it Here
  • Want to help? Join the Forum
Go to Github