API17:JDatabaseQueryElement:: construct
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseQueryElement::__construct|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseQueryElement::__construct|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function __construct ( |
| + | $name | ||
| + | $elements | ||
| + | $glue= ' | ||
| + | ' | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 39: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 50 of libraries/joomla/database/databasequery.php | |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/databasequery.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDatabaseQueryElement::__construct source code''' on [[jplatform:database/databasequery.php#cl-42|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDatabaseQueryElement/11.1|JDatabaseQueryElement]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JDatabaseQueryElement::__construct|Other versions of JDatabaseQueryElement::__construct]] | ||
| + | {{SeeAlso:JDatabaseQueryElement::__construct}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQueryElement::__construct|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseQueryElement::__construct|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 59: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseQueryElement]][[Category:JDatabaseQueryElement::__construct]]</noinclude> | <noinclude>[[Category:JDatabaseQueryElement]][[Category:JDatabaseQueryElement::__construct]]</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.
JDatabaseQueryElement::__construct
Description
Constructor.
Description:JDatabaseQueryElement:: construct [Edit Descripton]
public function __construct ( $name $elements $glue= ' ' )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | The name of the element. | |
| $elements | mixed | String or array. | |
| $glue | string | ',' | The glue for elements. |
See also
-
JDatabaseQueryElement::__construct source code on BitBucket
-
Class JDatabaseQueryElement
-
Subpackage Database
- Other versions of JDatabaseQueryElement::__construct
SeeAlso:JDatabaseQueryElement:: construct [Edit See Also]
User contributed notes
<CodeExamplesForm />
