JCacheStorage/get: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Get cached data by id and group
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowik... |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Get cached data by id and group | Get cached data by id and group | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 46: | Line 44: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=get | category=get | ||
category=JCacheStorage | category=JCacheStorage | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] | |||
Latest revision as of 01:22, 25 March 2017
Description
Get cached data by id and group
<! removed transcluded page call, red link never existed >
Syntax
get($id, $group, $checkTime)
| Parameter Name | Default Value | Description |
|---|---|---|
| $id | $id The cache data id | |
| $group | $group The cache data group | |
| $checkTime | $checkTime True to verify cache time expiration threshold |
Returns
mixed Boolean false on failure or a cached data string
Defined in
libraries/joomla/cache/storage.php
Importing
jimport( 'joomla.cache.storage' );
Source Body
function get($id, $group, $checkTime)
{
return;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples