Difference between revisions of "JDatabase::getQuery"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JDatabase::getQuery ($new=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 28: | Line 28: | ||
string The current value of the internal SQL variable | string The current value of the internal SQL variable | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/database/database.php | + | libraries/joomla/database/database.php (line 602) |
+ | * see source code in [[jplatform:database/database.php#cl-602|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:10, 23 April 2011
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.
JDatabase::getQuery[edit]
Description[edit]
Get the current or query, or new object.
Template:Description:JDatabase::getQuery [Edit Descripton]
Synopsis[edit]
public JDatabase::getQuery ($new=false)
Parameter | Type | Default | Description |
---|---|---|---|
$new | boolean | false | False to return the last query set by setQuery, True to return a new object. |
Returns[edit]
string The current value of the internal SQL variable
Defined in[edit]
libraries/joomla/database/database.php (line 602)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabase::getQuery
Examples[edit]
<CodeExamplesForm />