API17

JDatabaseMySQL::getQuery: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
Line 4: Line 4:
Get the current or query, or new  object.  
Get the current or query, or new  object.  


{{Description:JDatabaseMySQL::getQuery}}
{{subst:Description:JDatabaseMySQL::getQuery}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getQuery|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function getQuery ($new=false)
public function getQuery ($new=false)
Line 32: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabaseMySQL::getQuery|Other versions of JDatabaseMySQL::getQuery]]
* [[API17:JDatabaseMySQL::getQuery|Other versions of JDatabaseMySQL::getQuery]]
{{SeeAlso:JDatabaseMySQL::getQuery}}
{{subst:SeeAlso:JDatabaseMySQL::getQuery}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getQuery|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:04, 24 March 2017

Joomla 11.1 JDatabaseMySQL::getQuery

Description

Get the current or query, or new object.

{{subst:Description:JDatabaseMySQL::getQuery}}

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 279 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseMySQL::getQuery}}

User contributed notes

<CodeExamplesForm />