Difference between revisions of "JDatabaseQuery::having"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseQuery::having== | =={{JVer|11.1}} JDatabaseQuery::having== | ||
===Description=== | ===Description=== | ||
− | + | ||
{{Description:JDatabaseQuery::having}} | {{Description:JDatabaseQuery::having}} | ||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseQuery::having|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseQuery::having|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function having ( |
+ | $conditions | ||
+ | $glue='AND' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 29: | Line 29: | ||
|string | |string | ||
|'AND' | |'AND' | ||
− | | | + | |$glue |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' Returns this object to allow chaining. | |
− | Returns this object to allow chaining. | + | * '''Defined''' on line 431 of libraries/joomla/database/databasequery.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/databasequery.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JDatabaseQuery::having source code''' on [[jplatform:database/databasequery.php#cl-423|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JDatabaseQuery/11.1|JDatabaseQuery]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
+ | * [[JDatabaseQuery::having|Other versions of JDatabaseQuery::having]] | ||
+ | {{SeeAlso:JDatabaseQuery::having}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::having|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::having|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::having]]</noinclude> | <noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::having]]</noinclude> |
Revision as of 20:34, 27 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.
JDatabaseQuery::having[edit]
Description[edit]
Template:Description:JDatabaseQuery::having [Edit Descripton]
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
See also[edit]
- JDatabaseQuery::having source code on BitBucket
- Class JDatabaseQuery
- Subpackage Database
- Other versions of JDatabaseQuery::having
Template:SeeAlso:JDatabaseQuery::having [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />