API17

JCacheStorage::get: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
Line 8: Line 8:
<nowiki>[</nowiki>[[Description:JCacheStorage::get|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[Description:JCacheStorage::get|Edit Descripton]]<nowiki>]</nowiki>
</span>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JCacheStorage::get ($id, $group, $checkTime=true)
public function get (
        $id
        $group
        $checkTime=true
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 37: Line 38:
|-
|-
|}
|}
===Returns===
* '''Returns''' mixed Boolean false on failure or a cached data object
mixed Boolean false on failure or a cached data object
* '''Defined''' on line 139 of libraries/joomla/cache/storage.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/storage.php (line 139)
* see source code in [[jplatform:cache/storage.php#cl-139|BitBucket]]
===Referenced by===
===See also===
===See also===
* {{JVer|11.1}} '''JCacheStorage::get source code''' on [[jplatform:cache/storage.php#cl-131|BitBucket]]
* {{JVer|11.1}} Class [[JCacheStorage/11.1|JCacheStorage]]
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
* [[JCacheStorage::get|Other versions of JCacheStorage::get]]
{{SeeAlso:JCacheStorage::get}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JCacheStorage::get|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[SeeAlso:JCacheStorage::get|Edit See Also]]<nowiki>]</nowiki>
</span>
</span>
* [[JCacheStorage/11.1|JCacheStorage]]
===User contributed notes===
* [[JCacheStorage::get|Other versions of this method]]
{{SeeAlso:JCacheStorage::get}}
===Examples===
<CodeExamplesForm />
<CodeExamplesForm />
<dpl>
<dpl>
Line 58: Line 58:
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JCacheStorage]][[Category:JCacheStorage::get]]</noinclude>
<noinclude>[[Category:JCacheStorage]][[Category:JCacheStorage::get]]</noinclude>

Revision as of 01:16, 28 April 2011

Joomla 11.1 JCacheStorage::get

Description

Get cached data by id and group.

Template:Description:JCacheStorage::get [Edit Descripton]

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

Template:SeeAlso:JCacheStorage::get [Edit See Also]

User contributed notes

<CodeExamplesForm />