Difference between revisions of "JCache::get"
From Joomla! Documentation
(Layout updates) |
m (→See also: moving preparation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCache::get|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCache::get|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function get ( |
+ | $id | ||
+ | $group=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed Boolean false on failure or a cached data string | |
− | mixed Boolean false on failure or a cached data string | + | * '''Defined''' on line 160 of libraries/joomla/cache/cache.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/cache/cache.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JCache::get source code''' on [[jplatform:cache/cache.php#cl-152|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JCache|JCache]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | ||
+ | * [[API17:JCache::get|Other versions of JCache::get]] | ||
+ | {{SeeAlso:JCache::get}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCache::get|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCache::get|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 19:48, 11 May 2013
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.
JCache::get[edit]
Description[edit]
Get cached data by id and group.
Template:Description:JCache::get [Edit Descripton]
public function get (
$id
$group=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$id | string | The cache data id | |
$group | string | null | The cache data group |
- Returns mixed Boolean false on failure or a cached data string
- Defined on line 160 of libraries/joomla/cache/cache.php
- Since
See also[edit]
- JCache::get source code on BitBucket
- Class JCache
- Subpackage Cache
- Other versions of JCache::get
Template:SeeAlso:JCache::get [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />