API17:JDatabaseQuery::where
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseQuery::where== | =={{JVer|11.1}} JDatabaseQuery::where== | ||
===Description=== | ===Description=== | ||
| − | + | ||
{{Description:JDatabaseQuery::where}} | {{Description:JDatabaseQuery::where}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseQuery::where|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseQuery::where|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function where ( |
| + | $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 414 of libraries/joomla/database/databasequery.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/databasequery.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDatabaseQuery::where source code''' on [[jplatform:database/databasequery.php#cl-406|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDatabaseQuery/11.1|JDatabaseQuery]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JDatabaseQuery::where|Other versions of JDatabaseQuery::where]] | ||
| + | {{SeeAlso:JDatabaseQuery::where}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::where|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery::where|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::where]]</noinclude> | <noinclude>[[Category:JDatabaseQuery]][[Category:JDatabaseQuery::where]]</noinclude> | ||
Revision as of 20:35, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabaseQuery::where
Description
Description:JDatabaseQuery::where [Edit Descripton]
public function where ( $conditions $glue='AND' )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $conditions | mixed | A string or array of where conditions. | |
| $glue | string | 'AND' | $glue |
- Returns Returns this object to allow chaining.
- Defined on line 414 of libraries/joomla/database/databasequery.php
- Since
See also
-
JDatabaseQuery::where source code on BitBucket
-
Class JDatabaseQuery
-
Subpackage Database
- Other versions of JDatabaseQuery::where
SeeAlso:JDatabaseQuery::where [Edit See Also]
User contributed notes
<CodeExamplesForm />
