JDatabaseQueryElement/append
From Joomla! Documentation
< API16:JDatabaseQueryElement
The "API16" 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.
Description[edit]
Appends element parts to the internal list.
<! removed transcluded page call, red link never existed >
Syntax[edit]
append($elements)
Parameter Name | Default Value | Description |
---|---|---|
$elements | String or array. |
Defined in[edit]
libraries/joomla/database/databasequery.php
Importing[edit]
jimport( 'joomla.database.databasequery' );
Source Body[edit]
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 transcluded page call, red link never existed >
Examples[edit]
Code Examples[edit]