Public Member Functions | |
__construct (array $options=array()) | |
call ($name, $parameters=array(), $tags=array(), $specificLifetime=false, $priority=8) | |
Protected Attributes | |
$_specificOptions |
Definition at line 36 of file Function.php.
__construct | ( | array $ | options = array() ) |
Constructor
array | $options | Associative array of options |
Definition at line 64 of file Function.php.
call | ( | $ | name, |
$ | parameters = array() , |
||
$ | tags = array() , |
||
$ | specificLifetime = false , |
||
$ | priority = 8 |
||
) |
Main method : call the specified function or get the result from cache
string | $name | Function name |
array | $parameters | Function parameters |
array | $tags | Cache tags |
int | $specificLifetime | If != false, set a specific lifetime for this cache record (null => infinite lifetime) |
int | $priority | integer between 0 (very low priority) and 10 (maximum priority) used by some particular backends |
Definition at line 82 of file Function.php.
$_specificOptions [protected] |
array( 'cache_by_default' => true, 'cached_functions' => array(), 'non_cached_functions' => array() )
Not used for the core, just a sort a hint to get a common setOption() method (for the core and for frontends)
Reimplemented from Zend_Cache_Core.
Definition at line 52 of file Function.php.