API17

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.  


{{subst:Description:JCacheControllerView::get}}
 


<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]]
{{subst:SeeAlso:JCacheControllerView::get}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheControllerView::get
category=JCacheControllerView::get
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:25, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples