API17:JCacheStorageApc::lock
From Joomla! Documentation
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.
JCacheStorageApc::lock
Description
Lock cached item - override parent as this is more efficient.
Description:JCacheStorageApc::lock [Edit Descripton]
Since
Synopsis
public JCacheStorageApc::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/apc.php (line 170)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JCacheStorageApc::lock
Examples
<CodeExamplesForm />
