| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Source view] [Print] [Project Stats]
This class extends Cache_Lite and can be used to cache the result and output of functions/methods
| Author: | Sebastian BERGMANN |
| Author: | Fabien MARTY |
| Version: | $Id: Function.php,v 1.1 2005/07/22 01:57:13 eddieajau Exp $ |
| File Size: | 114 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file includes/Cache/Lite.php |
Cache_Lite_Function:: (2 methods):
Cache_Lite_Function()
call()
Class: Cache_Lite_Function - X-Ref
| Cache_Lite_Function($options = array(NULL) X-Ref |
| Constructor $options is an assoc. To have a look at availables options, see the constructor of the Cache_Lite class in 'Cache_Lite.php' Comparing to Cache_Lite constructor, there is another option : $options = array( (...) see Cache_Lite constructor 'defaultGroup' => default cache group for function caching (string) ); param: array $options options |
| call() X-Ref |
| Calls a cacheable function or method (or not if there is already a cache for it) Arguments of this method are read with func_get_args. So it doesn't appear in the function definition. Synopsis : call('functionName', $arg1, $arg2, ...) (arg1, arg2... are arguments of 'functionName') return: mixed result of the function/method |
| Generated: Wed May 23 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |