JDatabaseQueryElement
Query Element Class.
package |
Joomla.Platform |
---|---|
subpackage |
Database |
since |
11.1 |
Methods
__clone
Method to provide deep copy support to nested objects and arrays when cloning.
__clone() : void
since |
11.3 |
---|
__construct
Constructor.
__construct(string $name, mixed $elements, string $glue = ',')
since |
11.1 |
---|
Arguments
- $name
string
The name of the element.- $elements
mixed
String or array.- $glue
string
The glue for elements.
__toString
Magic function to convert the query element to a string.
__toString() : string
since |
11.1 |
---|
Response
string
append
Appends element parts to the internal list.
append(mixed $elements) : void
since |
11.1 |
---|
Arguments
- $elements
mixed
String or array.
getElements
Gets the elements of this element.
getElements() : string
since |
11.1 |
---|
Response
string
Properties
name
The name of the element.
since |
11.1 |
---|
Type(s)
string
elements
An array of elements.
since |
11.1 |
---|
Type(s)
array
glue
Glue piece.
since |
11.1 |
---|
Type(s)
string