Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
call () | |
get ($callback, $args=array(), $id=false, $wrkarounds=false, $woptions=array()) | |
Fonctions membres publiques inherited from JCacheController | |
__construct ($options) | |
__call ($name, $arguments) | |
setCaching ($enabled) | |
setLifeTime ($lt) | |
get ($id, $group=null) | |
store ($data, $id, $group=null, $wrkarounds=true) |
Fonctions membres protégées | |
_makeId ($callback, $args) |
Additional Inherited Members | |
Fonctions membres publiques statiques inherited from JCacheController | |
static | getInstance ($type= 'output', $options=array()) |
static | addIncludePath ($path= '') |
Attributs publics inherited from JCacheController | |
$cache | |
$options |
Définition à la ligne 19 du fichier callback.php.
|
protected |
Generate a callback cache id
callback | $callback | Callback to cache |
array | $args | Arguments to the callback method to cache |
Définition à la ligne 194 du fichier callback.php.
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:
Définition à la ligne 37 du fichier callback.php.
JCacheControllerCallback::get | ( | $callback, | |
$args = array() , |
|||
$id = false , |
|||
$wrkarounds = false , |
|||
$woptions = array() |
|||
) |
Executes a cacheable callback if not found in cache else returns cached output and result
mixed | $callback | Callback or string shorthand for a callback |
array | $args | Callback arguments |
string | $id | Cache id |
boolean | $wrkarounds | True to use wrkarounds |
array | $woptions | Workaround options |
Définition à la ligne 59 du fichier callback.php.
Références JFactory\getDocument(), JCache\getWorkarounds(), et JCache\setWorkarounds().