JCacheView: Difference between revisions
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: | ||
[[JCacheView]] is a concrete cache handler. It caches and returns the output of a given view. | |||
===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> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheView | category=JCacheView | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:24, 25 March 2017
JCacheView is a concrete cache handler. It caches and returns the output of a given view.
Defined in
libraries/joomla/cache/handler/view.php
Methods
| Method name | Description |
|---|---|
| get | Get the cached view data |
Importing
jimport( 'joomla.cache.handler.view' );
Examples
Code Examples