Difference between revisions of "JCacheStorageApc::lock"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JCacheStorageApc::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/apc.php | + | libraries/joomla/cache/storage/apc.php (line 170) |
+ | * see source code in [[jplatform:cache/storage/apc.php#cl-170|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:01, 23 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.
JCacheStorageApc::lock[edit]
Description[edit]
Lock cached item - override parent as this is more efficient.
Template:Description:JCacheStorageApc::lock [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
boolean True on success, false otherwise.
Defined in[edit]
libraries/joomla/cache/storage/apc.php (line 170)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JCacheStorageApc::lock
Examples[edit]
<CodeExamplesForm />