API17

Difference between revisions of "JCacheStorageEaccelerator::lock"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Lock cached item.  
 
Lock cached item.  
  
{{Description:JCacheStorageEaccelerator::lock}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCacheStorageEaccelerator::lock|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCacheStorageEaccelerator->lock ($id, $group, $locktime)
+
public function lock (
 +
        $id
 +
        $group
 +
        $locktime
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 36:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise.
boolean True on success, false otherwise.
+
* '''Defined''' on line 179 of libraries/joomla/cache/storage/eaccelerator.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/storage/eaccelerator.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JCacheStorageEaccelerator::lock source code''' on [[jplatform:cache/storage/eaccelerator.php#cl-171|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageEaccelerator::lock|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JCacheStorageEaccelerator|JCacheStorageEaccelerator]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCacheStorageEaccelerator/11.1|JCacheStorageEaccelerator]]
+
* [[API17:JCacheStorageEaccelerator::lock|Other versions of JCacheStorageEaccelerator::lock]]
* [[JCacheStorageEaccelerator::lock|Other versions of this method]]
+
 
{{SeeAlso:JCacheStorageEaccelerator::lock}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCacheStorageEaccelerator::lock
 
category=JCacheStorageEaccelerator::lock
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JCacheStorageEaccelerator]][[Category:JCacheStorageEaccelerator::lock]]</noinclude>
+
<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.

Joomla 11.1 JCacheStorageEaccelerator::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 179 of libraries/joomla/cache/storage/eaccelerator.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]