API17

API17:JDatabase::getQuery

From Joomla! Documentation

Revision as of 23:10, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JDatabase::getQuery

Description

Get the current or query, or new object.

Template:Description:JDatabase::getQuery [Edit Descripton]

Synopsis

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

string The current value of the internal SQL variable

Defined in

libraries/joomla/database/database.php

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JDatabase::getQuery

Examples

<CodeExamplesForm />