API17

JCacheStorage::get: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 12: Line 12:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JCacheStorage->get ($id, $group, $checkTime=true)
public JCacheStorage::get ($id, $group, $checkTime=true)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 40: Line 40:
mixed Boolean false on failure or a cached data object
mixed Boolean false on failure or a cached data object
===Defined in===
===Defined in===
libraries/joomla/cache/storage.php
libraries/joomla/cache/storage.php (line 139)
* see source code in [[jplatform:cache/storage.php#cl-139|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===

Revision as of 01:00, 24 April 2011

Joomla 11.1 JCacheStorage::get

Description

Get cached data by id and group.

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

Since

Joomla 11.1

Synopsis

public JCacheStorage::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 in

libraries/joomla/cache/storage.php (line 139)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JCacheStorage::get

Examples

<CodeExamplesForm />