Difference between revisions of "JDatabaseMySQLi::getQuery"
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: | ||
Get the current or query, or new object. | Get the current or query, or new object. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function getQuery ($new=false) | public function getQuery ($new=false) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQLi::getQuery source code''' on [[jplatform:database/database/mysqli.php#cl-293|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQLi::getQuery source code''' on [[jplatform:database/database/mysqli.php#cl-293|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabaseMySQLi | + | * {{JVer|11.1}} Class [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JDatabaseMySQLi::getQuery|Other versions of JDatabaseMySQLi::getQuery]] | + | * [[API17:JDatabaseMySQLi::getQuery|Other versions of JDatabaseMySQLi::getQuery]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQLi::getQuery | category=JDatabaseMySQLi::getQuery | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:41, 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.
JDatabaseMySQLi::getQuery[edit]
Description[edit]
Get the current or query, or new object.
public function getQuery ($new=false)
Parameter | Type | Default | Description |
---|---|---|---|
$new | false |
- Returns mixed The current value of the internal SQL variable or a new object.
- Defined on line 301 of libraries/joomla/database/database/mysqli.php
- Since
See also[edit]
- JDatabaseMySQLi::getQuery source code on BitBucket
- Class JDatabaseMySQLi
- Subpackage Database
- Other versions of JDatabaseMySQLi::getQuery
User contributed notes[edit]
Code Examples[edit]