[ Index ] |
|
Code source de Joomla 1.0.13 |
[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 49 2005-09-15 02:55:27Z rhuk $ |
Poids: | 114 lignes (3 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier includes/Cache/Lite.php |
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 : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |