API17

Difference between revisions of "JCacheControllerView::get"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JCacheControllerView::get|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheControllerView::get|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCacheControllerView->get (&$view, $method, $id=false, $wrkarounds=true)
+
public function get (
 +
        &$view
 +
        $method
 +
        $id=false
 +
        $wrkarounds=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 42: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if the cache is hit (false else)
boolean True if the cache is hit (false else)
+
* '''Defined''' on line 33 of libraries/joomla/cache/controller/view.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/controller/view.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JCacheControllerView::get source code''' on [[jplatform:cache/controller/view.php#cl-25|BitBucket]]
 +
* {{JVer|11.1}} Class [[JCacheControllerView/11.1|JCacheControllerView]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
 +
* [[JCacheControllerView::get|Other versions of JCacheControllerView::get]]
 +
{{SeeAlso:JCacheControllerView::get}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheControllerView::get|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheControllerView::get|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JCacheControllerView/11.1|JCacheControllerView]]
+
===User contributed notes===
* [[JCacheControllerView::get|Other versions of this method]]
 
{{SeeAlso:JCacheControllerView::get}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: Line 64:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JCacheControllerView]][[Category:JCacheControllerView::get]]</noinclude>
 
<noinclude>[[Category:JCacheControllerView]][[Category:JCacheControllerView::get]]</noinclude>

Revision as of 20:15, 27 April 2011

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

Joomla 11.1 JCacheControllerView::get[edit]

Description[edit]

Get the cached view data.

Template:Description:JCacheControllerView::get [Edit Descripton]

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[edit]

Template:SeeAlso:JCacheControllerView::get [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />