API17

JDatabaseQueryMySQL::lock: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to lock the database table for writing.  
Method to lock the database table for writing.  


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


<source lang="php">
<source lang="php">
Line 38: 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]]
{{subst:SeeAlso:JDatabaseQueryMySQL::lock}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseQueryMySQL::lock
category=JDatabaseQueryMySQL::lock
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:44, 25 March 2017

Joomla 11.1 JDatabaseQueryMySQL::lock

Description

Method to lock the database table for writing.


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


User contributed notes

Code Examples