[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
This class extends Cache_Lite and can be used to cache the result and output of functions/methods
Author: | Sebastian BERGMANN <sb@sebastian-bergmann.de> |
Author: | Fabien MARTY <fab@php.net> |
Version: | $Id: Function.php,v 1.6 2004/02/03 17:07:13 fab Exp $ |
Poids: | 111 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Cache_Lite_Function:: (2 méthodes):
Cache_Lite_Function()
call()
Classe: 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 |
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |