Class Zend_Cache_Frontend_Class

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Cache/Frontend/Class.php (line 35)

Zend_Cache_Core
   |
   --Zend_Cache_Frontend_Class
Variable Summary
Method Summary
 Zend_Cache_Frontend_Class __construct ([array $options = array()])
 void setSpecificLifeTime ([int $specificLifeTime = false])
 void setTagsArray ([array $tags = array()])
 mixed __call (string $name, array $parameters)
Variables
array $_specificOptions = array(
'cachedEntity' => null,
'cacheByDefault' => true,
'cachedMethods' => array(),'nonCachedMethods'=>array())
(line 60)

Available options

====> (mixed) cachedEntity :

  • if set to a class name, we will cache an abstract class and will use only static calls
  • if set to an object, we will cache this object methods
====> (boolean) cacheByDefault :
  • if true, method calls will be cached by default
====> (array) cachedMethods :
  • an array of method names which will be cached (even if cacheByDefault = false)
====> (array) nonCachedMethods :
  • an array of method names which won't be cached (even if cacheByDefault = true)

  • var: available options
  • access: protected

Redefinition of:
Zend_Cache_Core::$_specificOptions
Not used for the core, just a sort a hint to get a common setOption() method (for the core and for frontends)

Inherited Variables

Inherited from Zend_Cache_Core

Zend_Cache_Core::$_directivesList
Zend_Cache_Core::$_options
Methods
Constructor __construct (line 100)

Constructor

  • access: public
Zend_Cache_Frontend_Class __construct ([array $options = array()])
  • array $options: associative array of options

Redefinition of:
Zend_Cache_Core::__construct()
Constructor
setSpecificLifeTime (line 121)

Set a specific life time

  • access: public
void setSpecificLifeTime ([int $specificLifeTime = false])
  • int $specificLifeTime
setTagsArray (line 131)

Set the cache array

  • access: public
void setTagsArray ([array $tags = array()])
  • array $tags
__call (line 143)

Main method : call the specified method or get the result from cache

  • return: result
  • access: public
mixed __call (string $name, array $parameters)
  • string $name: method name
  • array $parameters: method parameters

Inherited Methods

Inherited From Zend_Cache_Core

 Zend_Cache_Core::__construct()
 Zend_Cache_Core::clean()
 Zend_Cache_Core::get()
 Zend_Cache_Core::load()
 Zend_Cache_Core::remove()
 Zend_Cache_Core::save()
 Zend_Cache_Core::setBackend()
 Zend_Cache_Core::setLifeTime()
 Zend_Cache_Core::setOption()
 Zend_Cache_Core::test()

Documentation generated on Wed, 21 Feb 2007 11:46:10 -0800 by phpDocumentor 1.3.1