JCacheCallback/call
From Joomla! Documentation
< API15:JCacheCallback
The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
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[edit]
call()
Returns[edit]
mixed Result of the callback
Defined in[edit]
libraries/joomla/cache/handler/callback.php
Importing[edit]
jimport( 'joomla.cache.handler.callback' );
Source Body[edit]
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[edit]
Code Examples[edit]