Support Joomla!

references:joomla.framework:cache:jcachecallback

JCacheCallback

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Cache Class JCacheCallback Reference JCacheCallback Never Work in Progress

Joomla! Cache callback type object

Methods

Method Description
call Executes a cacheable callback if not found in cache else returns cached output and result<p>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.</p><p>The callback definition can be in several forms: <ul><li>Standard PHP Callback array &lt;http://php.net/callback&gt; [recommended]</li><li>Function name as a string eg. ‘foo’ for function foo()</li><li>Static method name as a string eg. ‘MyClass::myMethod’ for method myMethod() of class MyClass</li></ul></p>
get Executes a cacheable callback if not found in cache else returns cached output and result


Discussion

Full name:
E-Mail:
 
references/joomla.framework/cache/jcachecallback.txt (818 views) · Last modified: 2007/09/22 02:46