Actions

API17

Difference between revisions of "JCacheStorageCachelite::get"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JCacheStorageCachelite::get|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheStorageCachelite::get|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCacheStorageCachelite::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 string
mixed Boolean false on failure or a cached data string
+
* '''Defined''' on line 82 of libraries/joomla/cache/storage/cachelite.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/storage/cachelite.php (line 82)
+
* see source code in [[jplatform:cache/storage/cachelite.php#cl-82|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JCacheStorageCachelite::get source code''' on [[jplatform:cache/storage/cachelite.php#cl-74|BitBucket]]
 +
* {{JVer|11.1}} Class [[JCacheStorageCachelite/11.1|JCacheStorageCachelite]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
 +
* [[JCacheStorageCachelite::get|Other versions of JCacheStorageCachelite::get]]
 +
{{SeeAlso:JCacheStorageCachelite::get}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageCachelite::get|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageCachelite::get|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JCacheStorageCachelite/11.1|JCacheStorageCachelite]]
+
===User contributed notes===
* [[JCacheStorageCachelite::get|Other versions of this method]]
+
{{SeeAlso:JCacheStorageCachelite::get}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 58: Line 58:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JCacheStorageCachelite]][[Category:JCacheStorageCachelite::get]]</noinclude>
 
<noinclude>[[Category:JCacheStorageCachelite]][[Category:JCacheStorageCachelite::get]]</noinclude>

Revision as of 19:17, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JCacheStorageCachelite::get

Description

Get cached data from a file by id and group.

Description:JCacheStorageCachelite::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 82 of libraries/joomla/cache/storage/cachelite.php
  • Since Joomla 11.1

See also

SeeAlso:JCacheStorageCachelite::get [Edit See Also]

User contributed notes

<CodeExamplesForm />