[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/cache/ -> sfFunctionCache.class.php (sommaire)

(pas de description)

Poids: 102 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

sfFunctionCache:: (1 méthode):
  call()


Classe: sfFunctionCache  - X-Ref

This class can be used to cache the result and output of functions/methods.

This class is based on the PEAR_Cache_Lite class.
All cache files are stored in files in the [sf_root_dir].'/cache/'.[sf_app].'/function' directory.
To disable all caching, you can set to false [sf_cache] constant.

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 The result of the function/method



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7