Class Zend_Cache_Frontend_Function

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

Located in /Zend/Cache/Frontend/Function.php (line 36)

Zend_Cache_Core
   |
   --Zend_Cache_Frontend_Function
Variable Summary
Method Summary
 Zend_Cache_Frontend_Function __construct ([array $options = array()])
 mixed call (string $name, [array $parameters = array()])
Variables
array $_specificOptions = array(
'cacheByDefault' => true,
'cachedFunctions' => array(),'nonCachedFunctions'=>array())
(line 53)

This frontend specific options

====> (boolean) cacheByDefault :

  • if true, function calls will be cached by default
====> (array) cachedFunctions :
  • an array of function names which will be cached (even if cacheByDefault = false)
====> (array) nonCachedFunctions :
  • an array of function names which won't be cached (even if cacheByDefault = true)

  • var: 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 64)

Constructor

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

Redefinition of:
Zend_Cache_Core::__construct()
Constructor
call (line 79)

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

  • return: result
  • access: public
mixed call (string $name, [array $parameters = array()])
  • string $name: function name
  • array $parameters: function 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 Thu, 18 Jan 2007 09:54:37 -0800 by phpDocumentor 1.3.1