API15:JQueryElement/append
From Joomla! Documentation
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.
Contents |
Description
Appends element parts to the internal list
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
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))); } }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
