API15:JCacheCallback
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JCacheCallback}}
===Define...) |
|||
| 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> | ||
Latest revision as of 12:28, 25 March 2010
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] JCacheCallback is a concrete cache handler. It caches and returns the output and results of callback functions.
Contents |
[edit] Defined in
libraries/joomla/cache/handler/callback.php
[edit] 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 |
[edit] Importing
jimport( 'joomla.cache.handler.callback' );
[Edit See Also] SeeAlso:JCacheCallback
[edit] Examples
<CodeExamplesForm />
