API Documentation

Zend/Cache/Core.php

This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.

Properties

Array of capabilities of the backend (only if it implements Zend_Cache_Backend_ExtendedInterface)

Default valuearray()Details

Type

array

array
$_directivesList= 'array('lifetime''

static

Array of options which have to be transfered to backend

Default valuearray('lifetime'Details

Type

array

boolean
$_extendedBackend= 'false'

True if the backend implements Zend_Cache_Backend_ExtendedInterface

Default valuefalseDetails

Type

boolean

string
$_lastId= 'null'

Last used cache id

Default valuenullDetails

Type

string

array
$_options= 'array(
'write_control' => true'

Available options

available options

====> (boolean) write_control :
- Enable / disable write control (the cache is read just after writing to detect corrupt entries)
- Enable write control will lightly slow the cache writing but not the cache reading
Write control can detect some corrupt cache files but maybe it's not a perfect control

Available modes are :
'all' (default) => remove all cache entries ($tags is not used)
'old' => remove too old cache entries ($tags is not used)
'matchingTag' => remove cache entries matching all given tags
($tags can be an array of strings or a single string)
'notMatchingTag' => remove cache entries not matching one of the given tags
($tags can be an array of strings or a single string)
'matchingAnyTag' => remove cache entries matching any given tags
($tags can be an array of strings or a single string)