Liste de tous les membres
Fonctions membres protégées |
| _makeId ($callback, $args) |
Documentation des fonctions membres
JCacheControllerCallback::_makeId |
( |
|
$callback, |
|
|
|
$args |
|
) |
| |
|
protected |
Generate a callback cache id
- Paramètres:
-
callback | $callback | Callback to cache |
array | $args | Arguments to the callback method to cache |
- Renvoie:
- string MD5 Hash : function cache id
- Depuis:
- 11.1
JCacheControllerCallback::call |
( |
| ) |
|
Executes a cacheable callback if not found in cache else returns cached output and result
Since arguments to this function are read with func_get_args you can pass any number of arguments to this method as long as the first argument passed is the callback definition.
The callback definition can be in several forms:
- Standard PHP Callback array see http://php.net/callback [recommended]
- Function name as a string eg. 'foo' for function foo()
- Static method name as a string eg. 'MyClass::myMethod' for method myMethod() of class MyClass
- Renvoie:
- mixed Result of the callback
- Depuis:
- 11.1
JCacheControllerCallback::get |
( |
|
$callback, |
|
|
|
$args = array() , |
|
|
|
$id = false , |
|
|
|
$wrkarounds = false , |
|
|
|
$woptions = array() |
|
) |
| |
La documentation de cette classe a été générée à partir du fichier suivant :