JCacheStorage::get: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Get cached data by id and group. | Get cached data by id and group. | ||
{{Description:JCacheStorage::get}} | {{subst:Description:JCacheStorage::get}} | ||
<source lang="php"> | <source lang="php"> | ||
public function get ( | public function get ( | ||
| Line 46: | Line 44: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | ||
* [[API17:JCacheStorage::get|Other versions of JCacheStorage::get]] | * [[API17:JCacheStorage::get|Other versions of JCacheStorage::get]] | ||
{{SeeAlso:JCacheStorage::get}} | {{subst:SeeAlso:JCacheStorage::get}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:51, 24 March 2017
JCacheStorage::get
Description
Get cached data by id and group.
{{subst:Description:JCacheStorage::get}}
public function get (
$id
$group
$checkTime=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | string | The cache data id | |
| $group | string | The cache data group | |
| $checkTime | boolean | true | True to verify cache time expiration threshold |
- Returns mixed Boolean false on failure or a cached data object
- Defined on line 139 of libraries/joomla/cache/storage.php
- Since

See also
JCacheStorage::get source code on BitBucket
Class JCacheStorage
Subpackage Cache- Other versions of JCacheStorage::get
{{subst:SeeAlso:JCacheStorage::get}}
User contributed notes
<CodeExamplesForm />