Difference between revisions of "JCachePage"
From Joomla! Documentation
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JCachePage}}
===Defined in===
...) |
m (preparing for archive only) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[JCachePage]] is a concrete cache handler. It caches and returns the body of the page. | |
− | |||
− | |||
− | |||
===Defined in=== | ===Defined in=== | ||
Line 18: | Line 15: | ||
|Stop the cache buffer and store the cached data | |Stop the cache buffer and store the cached data | ||
|} | |} | ||
+ | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.handler.page' );</source> | <source lang="php">jimport( 'joomla.cache.handler.page' );</source> | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Examples=== | ===Examples=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCachePage | category=JCachePage | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> |
Latest revision as of 20:22, 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.
JCachePage is a concrete cache handler. It caches and returns the body of the page.
Defined in[edit]
libraries/joomla/cache/handler/page.php
Methods[edit]
Method name | Description |
---|---|
get | Get the cached page data |
store | Stop the cache buffer and store the cached data |
Importing[edit]
jimport( 'joomla.cache.handler.page' );
Examples[edit]
Code Examples[edit]