API17

Difference between revisions of "JDatabaseQuery::having"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JDatabaseQuery::having==
 
=={{JVer|11.1}} JDatabaseQuery::having==
 
===Description===
 
===Description===
A conditions to the HAVING clause of the query.
 
  
{{Description:JDatabaseQuery::having}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JDatabaseQuery::having|Edit Descripton]]<nowiki>]</nowiki>
+
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseQuery::having ($conditions, $glue='AND')
+
public function having (
 +
        $conditions
 +
        $glue='AND'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 27:
 
|string
 
|string
 
|'AND'
 
|'AND'
|The glue by which to join the conditions. Defaults to AND.
+
|$glue
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' Returns this object to allow chaining.
Returns this object to allow chaining.
+
* '''Defined''' on line 431 of libraries/joomla/database/databasequery.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/databasequery.php (line 507)
 
* see source code in [[jplatform:database/databasequery.php#cl-507|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JDatabaseQuery::having source code''' on [[jplatform:database/databasequery.php#cl-423|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::having|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JDatabaseQuery|JDatabaseQuery]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseQuery/11.1|JDatabaseQuery]]
+
* [[API17:JDatabaseQuery::having|Other versions of JDatabaseQuery::having]]
* [[JDatabaseQuery::having|Other versions of this method]]
+
 
{{SeeAlso:JDatabaseQuery::having}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JDatabaseQuery::having
 
category=JDatabaseQuery::having
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::having]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:42, 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.

Joomla 11.1 JDatabaseQuery::having[edit]

Description[edit]

public function having (
        $conditions
        $glue='AND'
)
Parameter Type Default Description
$conditions mixed A string or array of columns.
$glue string 'AND' $glue
  • Returns Returns this object to allow chaining.
  • Defined on line 431 of libraries/joomla/database/databasequery.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]