JDatabaseQueryMySQL::lock: Difference between revisions
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: | ||
Method to lock the database table for writing. | Method to lock the database table for writing. | ||
<source lang="php"> | <source lang="php"> | ||
public function lock ( | public function lock ( | ||
| Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseQueryMySQL::lock source code''' on [[jplatform:database/database/mysqlquery.php#cl-482|BitBucket]] | * {{JVer|11.1}} '''JDatabaseQueryMySQL::lock source code''' on [[jplatform:database/database/mysqlquery.php#cl-482|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseQueryMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseQueryMySQL|JDatabaseQueryMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseQueryMySQL::lock|Other versions of JDatabaseQueryMySQL::lock]] | * [[API17:JDatabaseQueryMySQL::lock|Other versions of JDatabaseQueryMySQL::lock]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseQueryMySQL::lock | category=JDatabaseQueryMySQL::lock | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:44, 25 March 2017
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

See also
JDatabaseQueryMySQL::lock source code on BitBucket
Class JDatabaseQueryMySQL
Subpackage Database- Other versions of JDatabaseQueryMySQL::lock
User contributed notes
Code Examples