API17:JCache::get
From Joomla! Documentation
(Difference between revisions)
(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
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.
JCache::get
Description
Get cached data by id and group.
Description:JCache::get [Edit Descripton]
Since
Synopsis
public JCache::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 in
libraries/joomla/cache/cache.php (line 160)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
