API17

JCacheControllerCallback: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
{{Description:JCacheControllerCallback}}
===Defined in===
libraries/joomla/cache/controller/callback.php
* see source code in [[jplatform:cache/controller/callback.php|BitBucket]]
===Subpackage===
[[Subpackage Cache/11.1|Cache]]
===Extends===
[[JCacheController/11.1|JCacheController]]
===Extended by===
===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 in [[jplatform:cache/controller/callback.php|BitBucket]]
* {{JVer|11.1}} '''JCacheControllerCallback source code''' on [[jplatform:cache/controller/callback.php|BitBucket]]
* [[JCacheControllerCallback|Other versions of this class]]
* {{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>
===Examples===
===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 22:56, 27 April 2011

Joomla 11.1 JCacheControllerCallback

Description

Template:Description:JCacheControllerCallback [Edit Descripton]

Methods

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

jimport( 'joomla.cache.controller.callback' );

See also

Template:SeeAlso:JCacheControllerCallback [Edit See Also]

User contributed notes

<CodeExamplesForm />