JCacheCallback: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JCacheCallback}}
===Define... |
No edit summary |
||
| Line 18: | Line 18: | ||
|Executes a cacheable callback if not found in cache else returns cached output and result | |Executes a cacheable callback if not found in cache else returns cached output and result | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.handler.callback' );</source> | <source lang="php">jimport( 'joomla.cache.handler.callback' );</source> | ||
Revision as of 10:00, 30 March 2010
[Edit Descripton] Template:Description:JCacheCallback
Defined in
libraries/joomla/cache/handler/callback.php
Methods
| Method name | Description |
|---|---|
| call | Executes a cacheable callback if not found in cache else returns cached output and result |
| get | Executes a cacheable callback if not found in cache else returns cached output and result |
Importing
jimport( 'joomla.cache.handler.callback' );
[Edit See Also] Template:SeeAlso:JCacheCallback
Examples
<CodeExamplesForm />