API17

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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorage::get|Edit Descripton]]<nowiki>]</nowiki>
</span>
<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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorage::get|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:51, 24 March 2017

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

See also

{{subst:SeeAlso:JCacheStorage::get}}

User contributed notes

<CodeExamplesForm />