Difference between revisions of "JCacheStorageFile::get"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheStorageFile::get|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageFile::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 50 of libraries/joomla/cache/storage/file.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/cache/storage/file.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JCacheStorageFile::get source code''' on [[jplatform:cache/storage/file.php#cl-42|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JCacheStorageFile/11.1|JCacheStorageFile]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]] | ||
+ | * [[JCacheStorageFile::get|Other versions of JCacheStorageFile::get]] | ||
+ | {{SeeAlso:JCacheStorageFile::get}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::get|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::get|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 57: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCacheStorageFile]][[Category:JCacheStorageFile::get]]</noinclude> | <noinclude>[[Category:JCacheStorageFile]][[Category:JCacheStorageFile::get]]</noinclude> |
Revision as of 20:18, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JCacheStorageFile::get[edit]
Description[edit]
Get cached data from a file by id and group.
Template:Description:JCacheStorageFile::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 50 of libraries/joomla/cache/storage/file.php
- Since
See also[edit]
- JCacheStorageFile::get source code on BitBucket
- Class JCacheStorageFile
- Subpackage Cache
- Other versions of JCacheStorageFile::get
Template:SeeAlso:JCacheStorageFile::get [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />