Difference between revisions of "JCacheStorageFile::lock"
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: | ||
Lock cached item. | Lock cached item. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function lock ( | public function lock ( | ||
Line 43: | Line 41: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JCacheStorageFile::lock source code''' on [[jplatform:cache/storage/file.php#cl-222|BitBucket]] | * {{JVer|11.1}} '''JCacheStorageFile::lock source code''' on [[jplatform:cache/storage/file.php#cl-222|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JCacheStorageFile | + | * {{JVer|11.1}} Class [[API17:JCacheStorageFile|JCacheStorageFile]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Cache | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] |
− | * [[JCacheStorageFile::lock|Other versions of JCacheStorageFile::lock]] | + | * [[API17:JCacheStorageFile::lock|Other versions of JCacheStorageFile::lock]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorageFile::lock | category=JCacheStorageFile::lock | ||
− | + | 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:27, 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.
JCacheStorageFile::lock[edit]
Description[edit]
Lock cached item.
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 230 of libraries/joomla/cache/storage/file.php
- Since
See also[edit]
- JCacheStorageFile::lock source code on BitBucket
- Class JCacheStorageFile
- Subpackage Cache
- Other versions of JCacheStorageFile::lock
User contributed notes[edit]
Code Examples[edit]