QueryElement
Query Element Class.
| since |
1.0 |
|---|---|
| package |
Joomla Framework |
Methods
__clone
Method to provide basic copy support.
__clone() : void
Any object pushed into the data of this class should have its own __clone() implementation. This method does not support copying objects in a multidimensional array.
| since |
1.0 |
|---|
__construct
Constructor.
__construct(string name, string[]|string elements, string glue = ',') : mixed
| since |
1.0 |
|---|
Arguments
- name
stringThe name of the element.- elements
string[]|stringString or array.- glue
stringThe glue for elements.
Response
mixed
__toString
Magic function to convert the query element to a string.
__toString() : string
| since |
1.0 |
|---|
Response
string
append
Appends element parts to the internal list.
append(string[]|string elements) : void
| since |
1.0 |
|---|
Arguments
- elements
string[]|stringString or array.
getElements
Gets the elements of this element.
getElements() : string[]
| since |
1.0 |
|---|
Response
string[]
getGlue
Gets the glue of this element.
getGlue() : string
| since |
2.0.0 |
|---|
Response
stringGlue of the element.
getName
Gets the name of this element.
getName() : string
| since |
1.7.0 |
|---|
Response
stringName of the element.
setName
Sets the name of this element.
setName(string name) : $this
| since |
1.3.0 |
|---|
Arguments
- name
stringName of the element.
Response
$this
Properties
name
The name of the element.
| since |
1.0 |
|---|
Type(s)
string
elements
An array of elements.
| since |
1.0 |
|---|
Type(s)
string[]
glue
Glue piece.
| since |
1.0 |
|---|
Type(s)
string