JDatabaseQueryElement

Query Element Class.

property-read

The name of the element.

An array of elements.

Glue piece.

since

1.7.0

package

Joomla.Platform

Methods

__clone

Method to provide deep copy support to nested objects and arrays when cloning.

__clone() : void
since

1.7.3

__construct

Constructor.

__construct(string $name, mixed $elements, string $glue = ',') 
since

1.7.0

Arguments

$name

stringThe name of the element.

$elements

mixedString or array.

$glue

stringThe glue for elements.

__toString

Magic function to convert the query element to a string.

__toString() : string
since

1.7.0

Response

string

append

Appends element parts to the internal list.

append(mixed $elements) : void
since

1.7.0

Arguments

$elements

mixedString or array.

getElements

Gets the elements of this element.

getElements() : array
since

1.7.0

Response

array

setName

Sets the name of this element.

setName(string $name) : \JDatabaseQueryElement
since

3.6

Arguments

$name

stringName of the element.

Response

\JDatabaseQueryElementReturns this object to allow chaining.

Properties

name

The name of the element.

since

1.7.0

Type(s)

string

elements

An array of elements.

since

1.7.0

Type(s)

array

glue

Glue piece.

since

1.7.0

Type(s)

string

name

The name of the element.

Type(s)

string

elements

An array of elements.

Type(s)

array

glue

Glue piece.

Type(s)

string