class CacheProxy extends Zend_Cache_Core (View source)

A decorator for a Zend_Cache_Backend cache service that mutates cache keys dynamically depending on versioned state

Properties

protected Zend_Cache_Backend|Zend_Cache_Backend_ExtendedInterface $cache

Methods

public
__construct(Zend_Cache_Core $cache)

CacheProxy constructor.

public
setDirectives($directives)

No description

public
setConfig(Zend_Config $config)

No description

public
setBackend(Zend_Cache_Backend $backendObject)

No description

public
getBackend()

No description

public
setOption($name, $value)

No description

public
getOption($name)

No description

public
setLifetime($newLifetime)

No description

public
getIds()

No description

public
getTags()

No description

public
getIdsMatchingTags($tags = array())

No description

public
getIdsNotMatchingTags($tags = array())

No description

public
getIdsMatchingAnyTags($tags = array())

No description

public
getFillingPercentage()

No description

public
getMetadatas($id)

No description

public
touch($id, $extraLifetime)

No description

public
load($id, $doNotTestCacheValidity = false, $doNotUnserialize = false)

No description

public
test($id)

No description

public
save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 8)

No description

public
remove($id)

No description

public
clean($mode = Zend_Cache::CLEANING_MODE_ALL, $tags = array())

No description

protected
string
getKeyID(string $key)

Creates a dynamic key based on versioned state

Details

__construct(Zend_Cache_Core $cache)

CacheProxy constructor.

Parameters

Zend_Cache_Core $cache

setDirectives($directives)

No description

Parameters

$directives

setConfig(Zend_Config $config)

No description

Parameters

Zend_Config $config

setBackend(Zend_Cache_Backend $backendObject)

No description

Parameters

Zend_Cache_Backend $backendObject

getBackend()

No description

setOption($name, $value)

No description

Parameters

$name
$value

getOption($name)

No description

Parameters

$name

setLifetime($newLifetime)

No description

Parameters

$newLifetime

getIds()

No description

getTags()

No description

getIdsMatchingTags($tags = array())

No description

Parameters

$tags

getIdsNotMatchingTags($tags = array())

No description

Parameters

$tags

getIdsMatchingAnyTags($tags = array())

No description

Parameters

$tags

getFillingPercentage()

No description

getMetadatas($id)

No description

Parameters

$id

touch($id, $extraLifetime)

No description

Parameters

$id
$extraLifetime

load($id, $doNotTestCacheValidity = false, $doNotUnserialize = false)

No description

Parameters

$id
$doNotTestCacheValidity
$doNotUnserialize

test($id)

No description

Parameters

$id

save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 8)

No description

Parameters

$data
$id
$tags
$specificLifetime
$priority

remove($id)

No description

Parameters

$id

clean($mode = Zend_Cache::CLEANING_MODE_ALL, $tags = array())

No description

Parameters

$mode
$tags

protected string getKeyID(string $key)

Creates a dynamic key based on versioned state

Parameters

string $key

Return Value

string