Difference between revisions of "JDatabaseQueryMySQLi::lock"
From Joomla! Documentation
m (JoomlaWikiBot moved page JDatabaseQueryMySQLi::lock/11.1 to API17:JDatabaseQueryMySQLi::lock without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 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}} '''JDatabaseQueryMySQLi::lock source code''' on [[jplatform:database/database/mysqliquery.php#cl-482|BitBucket]] | * {{JVer|11.1}} '''JDatabaseQueryMySQLi::lock source code''' on [[jplatform:database/database/mysqliquery.php#cl-482|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabaseQueryMySQLi | + | * {{JVer|11.1}} Class [[API17:JDatabaseQueryMySQLi|JDatabaseQueryMySQLi]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JDatabaseQueryMySQLi::lock|Other versions of JDatabaseQueryMySQLi::lock]] | + | * [[API17:JDatabaseQueryMySQLi::lock|Other versions of JDatabaseQueryMySQLi::lock]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseQueryMySQLi::lock | category=JDatabaseQueryMySQLi::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 21:45, 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.
JDatabaseQueryMySQLi::lock[edit]
Description[edit]
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/mysqliquery.php
- Since
See also[edit]
- JDatabaseQueryMySQLi::lock source code on BitBucket
- Class JDatabaseQueryMySQLi
- Subpackage Database
- Other versions of JDatabaseQueryMySQLi::lock
User contributed notes[edit]
Code Examples[edit]