[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/Query/ -> QueryElement.php (summary)

Part of the Joomla Framework Database Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 179 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

QueryElement:: (8 methods):
  __construct()
  __toString()
  append()
  getElements()
  getGlue()
  getName()
  setName()
  __clone()


Class: QueryElement  - X-Ref

Query Element Class.

__construct($name, $elements, $glue = ',')   X-Ref
Constructor.

param: string           $name      The name of the element.
param: string[]|string  $elements  String or array.
param: string           $glue      The glue for elements.

__toString()   X-Ref
Magic function to convert the query element to a string.

return: string

append($elements)   X-Ref
Appends element parts to the internal list.

param: string[]|string  $elements  String or array.
return: void

getElements()   X-Ref
Gets the elements of this element.

return: string[]

getGlue()   X-Ref
Gets the glue of this element.

return: string  Glue of the element.

getName()   X-Ref
Gets the name of this element.

return: string  Name of the element.

setName($name)   X-Ref
Sets the name of this element.

param: string  $name  Name of the element.
return: $this

__clone()   X-Ref
Method to provide basic copy support.

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.

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer