Docs For Class Zend_Cache_Frontend_Function

## Class Zend_Cache_Frontend_Function

Description

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

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

    Zend_Cache_Core
       |
       --Zend_Cache_Frontend_Function

Variable Summary
array $_specificOptions
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 52)

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 63)

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 78)

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::remove()
> Zend_Cache_Core::save()
> Zend_Cache_Core::setBackend()
> Zend_Cache_Core::setLifeTime()
> Zend_Cache_Core::setOption()
> Zend_Cache_Core::test()

Documentation generated on Sun, 29 Oct 2006 21:27:18 -0600 by phpDocumentor 1.3.0RC6