API16

Difference between revisions of "JCacheView"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JCacheView}} ===Defined in=== ...)
 
m (preparing for archive only)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
+
[[JCacheView]] is a concrete cache handler. It caches and returns the output of a given view.
<nowiki>[</nowiki>[[Description:JCacheView|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
{{Description:JCacheView}}
 
  
 
===Defined in===
 
===Defined in===
Line 15: Line 12:
 
|Get the cached view data
 
|Get the cached view data
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.handler.view' );</source>
 
<source lang="php">jimport( 'joomla.cache.handler.view' );</source>
  
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JCacheView|Edit See Also]]<nowiki>]</nowiki>
+
 
</span>
 
{{SeeAlso:JCacheView}}
 
  
 
===Examples===
 
===Examples===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
  noresultsheader=\n
 
  noresultsheader=\n
 
  category=JCacheView
 
  category=JCacheView
  category=CodeExample
+
  namespace=CodeExample
 
  category=ClassExample
 
  category=ClassExample
 
  include=*
 
  include=*
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>

Latest revision as of 20:24, 24 March 2017

The "API16" 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.

JCacheView is a concrete cache handler. It caches and returns the output of a given view.

Defined in[edit]

libraries/joomla/cache/handler/view.php

Methods[edit]

Method name Description
get Get the cached view data

Importing[edit]

jimport( 'joomla.cache.handler.view' );



Examples[edit]

Code Examples[edit]