API17

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.  


{{subst:Description:JCacheStorage::get}}
 


<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]]
{{subst:SeeAlso:JCacheStorage::get}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheStorage::get
category=JCacheStorage::get
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:25, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples