API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JCacheCallback::_makeId | ( | $ | callback, |
$ | args | ||
) |
Generate a callback cache id
private
callback | $callback | Callback to cache |
array | $args | Arguments to the callback method to cache |
JCacheCallback::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:
public
JCacheCallback::get | ( | $ | callback, |
$ | args, | ||
$ | id = false |
||
) |