Support Joomla!

references:joomla.framework:cache:jcachecallback-call

Table of Contents

call

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

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>

Syntax

mixed call ()

Examples

Example


~DISCUSSION~~

Discussion

Full name:
E-Mail:
 
references/joomla.framework/cache/jcachecallback-call.txt (572 views) · Last modified: 2007/08/15 14:47