API17

Difference between revisions of "JCacheControllerCallback"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<span class="editsection" style="font-size:76%;">
+
=={{JVer|11.1}} JCacheControllerCallback==
<nowiki>[</nowiki>[[Description:JCacheControllerCallback|Edit Descripton]]<nowiki>]</nowiki>
+
===Description===
</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
 
|-
 
|-
|[[JCacheControllerCallback::call/11.1|call]]
+
|public
 +
|[[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.  
 
|-
 
|-
|[[JCacheControllerCallback::get/11.1|get]]
+
|public
 +
|[[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
 +
* '''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===
* 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 [[API17:Subpackage Cache|Cache]]
{{SeeAlso:JCacheControllerCallback}}
+
* [[API17:JCacheControllerCallback|Other versions of JCacheControllerCallback]]
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JCacheControllerCallback|Edit See Also]]<nowiki>]</nowiki>
+
 
</span>
+
===User contributed notes===
===Examples===
+
=== Code Examples ===
<CodeExamplesForm />
 
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCacheControllerCallback
 
category=JCacheControllerCallback
category=CodeExample
+
namespace=CodeExample
 
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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:25, 24 March 2017

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.

Joomla 11.1 JCacheControllerCallback[edit]

Description[edit]

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]


User contributed notes[edit]

Code Examples[edit]