API17

Difference between revisions of "JDatabaseQueryElement:: construct"

From Joomla! Documentation

(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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseQueryElement::__construct ($name, $elements, $glue= ',')
+
public function __construct (
 +
        $name
 +
        $elements
 +
        $glue= '
 +
        '
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 39:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 50 of libraries/joomla/database/databasequery.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/databasequery.php (line 50)
 
* see source code in [[jplatform:database/databasequery.php#cl-50|BitBucket]]
 
===Referenced by===
 
 
===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>
* [[JDatabaseQueryElement/11.1|JDatabaseQueryElement]]
+
===User contributed notes===
* [[JDatabaseQueryElement::__construct|Other versions of this method]]
 
{{SeeAlso:JDatabaseQueryElement::__construct}}
 
===Examples===
 
 
<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

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 JDatabaseQueryElement::__construct[edit]

Description[edit]

Constructor.

Template: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.
  • Returns
  • Defined on line 50 of libraries/joomla/database/databasequery.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JDatabaseQueryElement:: construct [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />