JCacheControllerView::get: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Get the cached view data. | Get the cached view data. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 50: | Line 50: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | ||
* [[API17:JCacheControllerView::get|Other versions of JCacheControllerView::get]] | * [[API17:JCacheControllerView::get|Other versions of JCacheControllerView::get]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheControllerView::get | category=JCacheControllerView::get | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:25, 25 March 2017
JCacheControllerView::get
Description
Get the cached view data.
public function get (
&$view
$method
$id=false
$wrkarounds=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$view | object | $view The view object to cache output for | |
| $method | string | The method name of the view method to cache output for | |
| $id | string | false | $group The cache data group |
| $wrkarounds | string | true | $id The cache data id |
- Returns boolean True if the cache is hit (false else)
- Defined on line 33 of libraries/joomla/cache/controller/view.php
- Since

See also
JCacheControllerView::get source code on BitBucket
Class JCacheControllerView
Subpackage Cache- Other versions of JCacheControllerView::get
User contributed notes
Code Examples