Zend Framework
1.12
|
Public Member Functions | |
setCache ($name, Zend_Cache_Core $cache) | |
Set a new cache for the Cache Manager to contain. | |
hasCache ($name) | |
Check if the Cache Manager contains the named cache object, or a named configuration template to lazy load the cache object. | |
getCache ($name) | |
Fetch the named cache object, or instantiate and return a cache object using a named configuration template. | |
getCaches () | |
Fetch all available caches. | |
setCacheTemplate ($name, $options) | |
Set a named configuration template from which a cache object can later be lazy loaded. | |
hasCacheTemplate ($name) | |
Check if the named configuration template. | |
getCacheTemplate ($name) | |
Get the named configuration template. | |
setTemplateOptions ($name, $options) | |
Pass an array containing changes to be applied to a named configuration template. | |
Public Attributes | |
const | PAGECACHE = 'page' |
Constant holding reserved name for default Page Cache. | |
const | PAGETAGCACHE = 'pagetag' |
Constant holding reserved name for default Page Tag Cache. | |
Protected Member Functions | |
_mergeOptions (array $current, array $options) | |
Simple method to merge two configuration arrays. | |
Protected Attributes | |
$_caches = array() | |
$_optionTemplates | |
|
protected |
Simple method to merge two configuration arrays.
array | $current | |
array | $options |
getCache | ( | $name | ) |
Fetch the named cache object, or instantiate and return a cache object using a named configuration template.
string | $name |
getCaches | ( | ) |
Fetch all available caches.
getCacheTemplate | ( | $name | ) |
Get the named configuration template.
string | $name |
hasCache | ( | $name | ) |
Check if the Cache Manager contains the named cache object, or a named configuration template to lazy load the cache object.
string | $name |
hasCacheTemplate | ( | $name | ) |
Check if the named configuration template.
string | $name |
setCache | ( | $name, | |
Zend_Cache_Core | $cache | ||
) |
Set a new cache for the Cache Manager to contain.
string | $name | |
Zend_Cache_Core | $cache |
setCacheTemplate | ( | $name, | |
$options | |||
) |
Set a named configuration template from which a cache object can later be lazy loaded.
string | $name | |
array | $options |
Zend_Cache_Exception |
setTemplateOptions | ( | $name, | |
$options | |||
) |
Pass an array containing changes to be applied to a named configuration template.
string | $name | |
array | $options |
Zend_Cache_Exception | for invalid options format or if option templates do not have $name |
|
protected |
|
protected |
const PAGECACHE = 'page' |
Constant holding reserved name for default Page Cache.
const PAGETAGCACHE = 'pagetag' |
Constant holding reserved name for default Page Tag Cache.