JCacheStorageXcache::get: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheStorageXcache::get|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageXcache::get|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public | public function get ( | ||
$id | |||
$group | |||
$checkTime=true | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' mixed Boolean false on failure or a cached data string | |||
mixed Boolean false on failure or a cached data string | * '''Defined''' on line 31 of libraries/joomla/cache/storage/xcache.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/cache/storage/xcache.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JCacheStorageXcache::get source code''' on [[jplatform:cache/storage/xcache.php#cl-23|BitBucket]] | |||
* {{JVer|11.1}} Class [[JCacheStorageXcache/11.1|JCacheStorageXcache]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]] | |||
* [[JCacheStorageXcache::get|Other versions of JCacheStorageXcache::get]] | |||
{{SeeAlso:JCacheStorageXcache::get}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache::get|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache::get|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCacheStorageXcache]][[Category:JCacheStorageXcache::get]]</noinclude> | <noinclude>[[Category:JCacheStorageXcache]][[Category:JCacheStorageXcache::get]]</noinclude> | ||
Revision as of 01:19, 28 April 2011
JCacheStorageXcache::get
Description
Get cached data by id and group.
Template:Description:JCacheStorageXcache::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 string
- Defined on line 31 of libraries/joomla/cache/storage/xcache.php
- Since

See also
JCacheStorageXcache::get source code on BitBucket
Class JCacheStorageXcache
Subpackage Cache- Other versions of JCacheStorageXcache::get
Template:SeeAlso:JCacheStorageXcache::get [Edit See Also]
User contributed notes
<CodeExamplesForm />