Difference between revisions of "JCacheControllerCallback"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JCacheControllerCallback== | ||
+ | ===Description=== | ||
+ | {{Description:JCacheControllerCallback}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JCacheControllerCallback|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheControllerCallback|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JCacheControllerCallback::call/11.1|call]] | |[[JCacheControllerCallback::call/11.1|call]] | ||
|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. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheControllerCallback::get/11.1|get]] | |[[JCacheControllerCallback::get/11.1|get]] | ||
|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. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/cache/controller/callback.php | ||
+ | * '''Extends''' [[JCacheController/11.1|JCacheController]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.controller.callback' );</source> | <source lang="php">jimport( 'joomla.cache.controller.callback' );</source> | ||
===See also=== | ===See also=== | ||
− | * JCacheControllerCallback source code | + | * {{JVer|11.1}} '''JCacheControllerCallback source code''' on [[jplatform:cache/controller/callback.php|BitBucket]] |
− | * [[JCacheControllerCallback|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]] |
+ | * [[JCacheControllerCallback|Other versions of JCacheControllerCallback]] | ||
{{SeeAlso:JCacheControllerCallback}} | {{SeeAlso:JCacheControllerCallback}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheControllerCallback|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheControllerCallback|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 42: | Line 42: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheControllerCallback]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheControllerCallback]]</noinclude> |
Revision as of 16:56, 27 April 2011
The "API17" 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.
JCacheControllerCallback[edit]
Description[edit]
Template:Description:JCacheControllerCallback [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | call | Executes a cacheable callback if not found in cache else returns cached output and result. |
public | get | Executes a cacheable callback if not found in cache else returns cached output and result. |
- Defined in libraries/joomla/cache/controller/callback.php
- Extends JCacheController
Importing[edit]
jimport( 'joomla.cache.controller.callback' );
See also[edit]
JCacheControllerCallback source code on BitBucket
Subpackage Cache
- Other versions of JCacheControllerCallback
Template:SeeAlso:JCacheControllerCallback [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />