Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
call () | |
get ($callback, $args=array(), $id=false, $wrkarounds=false, $woptions=array()) | |
Fonctions membres publiques hérités de CacheController | |
__construct ($options) | |
__call ($name, $arguments) | |
get ($id, $group=null) | |
store ($data, $id, $group=null, $wrkarounds=true) | |
Fonctions membres protégées | |
_makeId ($callback, $args) | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de CacheController | |
static | getInstance ($type='output', $options=array()) |
static | addIncludePath ($path='') |
Champs de données hérités de CacheController | |
$cache | |
$options | |
Joomla! Cache callback type object
|
protected |
Generate a callback cache ID
callback | $callback | Callback to cache |
array | $args | Arguments to the callback method to cache |
Références $hash.
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:
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 |
mixed | $id | Cache ID |
boolean | $wrkarounds | True to use workarounds |
array | $woptions | Workaround options |
Références $class, $data, $document, $id, $output, elseif, getDocument, Cache\getWorkarounds(), null, et Cache\setWorkarounds().