API15

API15:JQueryElement/append

From Joomla! Documentation

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

Description

Appends element parts to the internal list

[Edit Descripton]

Template:Description:JQueryElement/append

Syntax

append($elements)
Parameter Name Default Value Description
$elements String or array

Defined in

libraries/joomla/database/query.php

Importing

jimport( 'joomla.database.query' );

Source Body

public function append($elements)
{
        if (is_array($elements)) {
                $this->_elements = array_unique(array_merge($this->_elements, $elements));
        } else {
                $this->_elements = array_unique(array_merge($this->_elements, array($elements)));
        }
}

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

Examples

<CodeExamplesForm />