JCacheStorage::get: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Get cached data by id and group. | Get cached data by id and group. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 44: | 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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorage::get | category=JCacheStorage::get | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:25, 25 March 2017
JCacheStorage::get
Description
Get cached data by id and group.
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
User contributed notes
Code Examples