API17:JCacheControllerView::get
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheControllerView::get|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheControllerView::get|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function get ( |
| + | &$view | ||
| + | $method | ||
| + | $id=false | ||
| + | $wrkarounds=true | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''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 |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/cache/controller/view.php | + | |
| − | * | + | |
| − | + | ||
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 63: | 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
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCacheControllerView::get
Description
Get the cached view data.
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
See also
-
JCacheControllerView::get source code on BitBucket
-
Class JCacheControllerView
-
Subpackage Cache
- Other versions of JCacheControllerView::get
SeeAlso:JCacheControllerView::get [Edit See Also]
User contributed notes
<CodeExamplesForm />
