API15:JCacheCallback/call
From Joomla! Documentation
Description
Executes a cacheable callback if not found in cache else returns cached output and result
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
call()
Returns
mixed Result of the callback
Defined in
libraries/joomla/cache/handler/callback.php
Importing
jimport( 'joomla.cache.handler.callback' );
Source Body
function call()
{
// Get callback and arguments
$args = func_get_args();
$callback = array_shift($args);
return $this->get( $callback, $args );
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples