API17:JCacheStorageMemcache::lock
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JCacheStorageMemcache::lock ($id, $group, $locktime) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 40: | Line 40: | ||
boolean True on success, false otherwise. | boolean True on success, false otherwise. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/cache/storage/memcache.php | + | libraries/joomla/cache/storage/memcache.php (line 286) |
| + | * see source code in [[jplatform:cache/storage/memcache.php#cl-286|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:03, 23 April 2011
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.
JCacheStorageMemcache::lock
Description
Lock cached item - override parent as this is more efficient.
Description:JCacheStorageMemcache::lock [Edit Descripton]
Since
Synopsis
public JCacheStorageMemcache::lock ($id, $group, $locktime)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | string | The cache data id | |
| $group | string | The cache data group | |
| $locktime | integer | Cached item max lock time |
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/cache/storage/memcache.php (line 286)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JCacheStorageMemcache::lock
Examples
<CodeExamplesForm />
