API17

Difference between revisions of "JCache::lock"

From Joomla! Documentation

m (JoomlaWikiBot moved page JCache::lock/11.1 to API17:JCache::lock without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 61: Line 61:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JCache]][[Category:JCache::lock]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 10:07, 11 May 2013

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 JCache::lock[edit]

Description[edit]

Set lock flag on cached item.

Template:Description:JCache::lock [Edit Descripton]

public function lock (
        $id
        $group=null
        $locktime=null
)
Parameter Type Default Description
$id string The cache data id
$group string null The cache data group
$locktime null
  • Returns boolean True on success, false otherwise.
  • Defined on line 281 of libraries/joomla/cache/cache.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JCache::lock [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />