API17

JCacheControllerCallback: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m preparing for archive only
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
=={{JVer|11.1}} JCacheControllerCallback==
=={{JVer|11.1}} JCacheControllerCallback==
===Description===
===Description===
{{Description:JCacheControllerCallback}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheControllerCallback|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 14: Line 12:
|-
|-
|public  
|public  
|[[JCacheControllerCallback::call/11.1|call]]
|[[API17:JCacheControllerCallback::call|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  
|public  
|[[JCacheControllerCallback::get/11.1|get]]
|[[API17:JCacheControllerCallback::get|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
* '''Defined in''' libraries/joomla/cache/controller/callback.php
* '''Extends''' [[JCacheController/11.1|JCacheController]]
* '''Extends''' [[API17:JCacheController|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===
* {{JVer|11.1}} '''JCacheControllerCallback source code''' on [[jplatform:cache/controller/callback.php|BitBucket]]
* {{JVer|11.1}} '''JCacheControllerCallback source code''' on [[jplatform:cache/controller/callback.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
* [[JCacheControllerCallback|Other versions of JCacheControllerCallback]]
* [[API17:JCacheControllerCallback|Other versions of JCacheControllerCallback]]
{{SeeAlso:JCacheControllerCallback}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheControllerCallback|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheControllerCallback
category=JCacheControllerCallback
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*
Line 45: Line 41:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheControllerCallback]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:25, 25 March 2017

Joomla 11.1 JCacheControllerCallback

Description

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


User contributed notes

Code Examples