Class JDatabaseQueryElement

Description

Query Element Class.

  • property-read: string $name: The name of the element.
  • property-read: array $elements: An array of elements.
  • property-read: string $glue: Glue piece.
  • since: 11.1

Located in /libraries/joomla/database/query.php (line 23)


	
			
Variable Summary
 array $elements
 string $glue
 string $name
Method Summary
 JDatabaseQueryElement __construct (string $name, mixed $elements, [string $glue = ','])
 void append (mixed $elements)
 array getElements ()
 void __clone ()
 string __toString ()
Variables
array $elements = null (line 35)
  • var: An array of elements.
  • since: 11.1
  • access: protected
string $glue = null (line 41)
  • var: Glue piece.
  • since: 11.1
  • access: protected
string $name = null (line 29)
  • var: The name of the element.
  • since: 11.1
  • access: protected
Methods
Constructor __construct (line 52)

Constructor.

  • since: 11.1
  • access: public
JDatabaseQueryElement __construct (string $name, mixed $elements, [string $glue = ','])
  • string $name: The name of the element.
  • mixed $elements: String or array.
  • string $glue: The glue for elements.
append (line 89)

Appends element parts to the internal list.

  • since: 11.1
  • access: public
void append (mixed $elements)
  • mixed $elements: String or array.
getElements (line 108)

Gets the elements of this element.

  • since: 11.1
  • access: public
array getElements ()
__clone (line 121)

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

  • since: 11.3
  • access: public
void __clone ()
__toString (line 68)

Magic function to convert the query element to a string.

  • since: 11.1
  • access: public
string __toString ()

Documentation generated on Tue, 19 Nov 2013 15:11:33 +0100 by phpDocumentor 1.4.3