API17

JDatabaseQueryMySQL::lock: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
Line 4: Line 4:
Method to lock the database table for writing.  
Method to lock the database table for writing.  


{{Description:JDatabaseQueryMySQL::lock}}
{{subst:Description:JDatabaseQueryMySQL::lock}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseQueryMySQL::lock|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function lock (
public function lock (
Line 40: Line 38:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabaseQueryMySQL::lock|Other versions of JDatabaseQueryMySQL::lock]]
* [[API17:JDatabaseQueryMySQL::lock|Other versions of JDatabaseQueryMySQL::lock]]
{{SeeAlso:JDatabaseQueryMySQL::lock}}
{{subst:SeeAlso:JDatabaseQueryMySQL::lock}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQueryMySQL::lock|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:10, 24 March 2017

Joomla 11.1 JDatabaseQueryMySQL::lock

Description

Method to lock the database table for writing.

{{subst:Description:JDatabaseQueryMySQL::lock}}

public function lock (
        $table_name
        &$db
)
Parameter Type Default Description
$table_name
&$db
  • Returns boolean True on success.
  • Defined on line 490 of libraries/joomla/database/database/mysqlquery.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseQueryMySQL::lock}}

User contributed notes

<CodeExamplesForm />