API15

API15:JQueryElement/ construct

From Joomla! Documentation

Revision as of 22:15, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Constructor <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span>...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Constructor

[Edit Descripton]

Template:Description:JQueryElement/ construct

Syntax

__construct($name, $elements, $glue=',')
Parameter Name Default Value Description
$name The name of the element
$elements String or array
$glue ',' The glue for elements

Defined in

libraries/joomla/database/query.php

Importing

jimport( 'joomla.database.query' );

Source Body

public function __construct($name, $elements, $glue=',')
{
        $this->_elements        = array();
        $this->_name            = $name;
        $this->append($elements);
        $this->_glue            = $glue;
}

[Edit See Also] Template:SeeAlso:JQueryElement/ construct

Examples

<CodeExamplesForm />