Difference between revisions of "JCache::get"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JCache::get ($id, $group=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 35: | ||
mixed Boolean false on failure or a cached data string | mixed Boolean false on failure or a cached data string | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/cache/cache.php | + | libraries/joomla/cache/cache.php (line 160) |
+ | * see source code in [[jplatform:cache/cache.php#cl-160|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 19:59, 23 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.
JCache::get[edit]
Description[edit]
Get cached data by id and group.
Template:Description:JCache::get [Edit Descripton]
Since[edit]
Synopsis[edit]
public JCache::get ($id, $group=null)
Parameter | Type | Default | Description |
---|---|---|---|
$id | string | The cache data id | |
$group | string | null | The cache data group |
Returns[edit]
mixed Boolean false on failure or a cached data string
Defined in[edit]
libraries/joomla/cache/cache.php (line 160)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
<CodeExamplesForm />