Difference between revisions of "JCacheStorageMemcache::get"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Get cached data from memcache by id and group. | Get cached data from memcache by id and group. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function get ( | public function get ( | ||
Line 43: | Line 41: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JCacheStorageMemcache::get source code''' on [[jplatform:cache/storage/memcache.php#cl-92|BitBucket]] | * {{JVer|11.1}} '''JCacheStorageMemcache::get source code''' on [[jplatform:cache/storage/memcache.php#cl-92|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JCacheStorageMemcache | + | * {{JVer|11.1}} Class [[API17:JCacheStorageMemcache|JCacheStorageMemcache]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Cache | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] |
− | * [[JCacheStorageMemcache::get|Other versions of JCacheStorageMemcache::get]] | + | * [[API17:JCacheStorageMemcache::get|Other versions of JCacheStorageMemcache::get]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorageMemcache::get | category=JCacheStorageMemcache::get | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 61: | Line 57: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:28, 24 March 2017
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.
JCacheStorageMemcache::get[edit]
Description[edit]
Get cached data from memcache by id and group.
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 100 of libraries/joomla/cache/storage/memcache.php
- Since
See also[edit]
- JCacheStorageMemcache::get source code on BitBucket
- Class JCacheStorageMemcache
- Subpackage Cache
- Other versions of JCacheStorageMemcache::get
User contributed notes[edit]
Code Examples[edit]