API17:JCacheStorageApc::lock
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheStorageApc::lock|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageApc::lock|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function lock ( |
| + | $id | ||
| + | $group | ||
| + | $locktime | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success, false otherwise. | |
| − | boolean True on success, false otherwise. | + | * '''Defined''' on line 170 of libraries/joomla/cache/storage/apc.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/cache/storage/apc.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JCacheStorageApc::lock source code''' on [[jplatform:cache/storage/apc.php#cl-162|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JCacheStorageApc/11.1|JCacheStorageApc]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]] | ||
| + | * [[JCacheStorageApc::lock|Other versions of JCacheStorageApc::lock]] | ||
| + | {{SeeAlso:JCacheStorageApc::lock}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc::lock|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc::lock|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 57: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCacheStorageApc]][[Category:JCacheStorageApc::lock]]</noinclude> | <noinclude>[[Category:JCacheStorageApc]][[Category:JCacheStorageApc::lock]]</noinclude> | ||
Revision as of 20:16, 27 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.
JCacheStorageApc::lock
Description
Lock cached item - override parent as this is more efficient.
Description:JCacheStorageApc::lock [Edit Descripton]
public function 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 on line 170 of libraries/joomla/cache/storage/apc.php
- Since
See also
-
JCacheStorageApc::lock source code on BitBucket
-
Class JCacheStorageApc
-
Subpackage Cache
- Other versions of JCacheStorageApc::lock
SeeAlso:JCacheStorageApc::lock [Edit See Also]
User contributed notes
<CodeExamplesForm />
