\SelectBuilder

This class implements the builder for the [SELECT] field. You can overwrite all functions to achieve another handling.

Summary

Methods
Properties
Constants
build()
No public properties found
No constants found
buildConstant()
buildFunction()
buildSelectExpression()
buildSelectBracketExpression()
buildColRef()
buildReserved()
getDelimiter()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

build()

build(  $parsed) 

Parameters

$parsed

buildConstant()

buildConstant(  $parsed) 

Parameters

$parsed

buildFunction()

buildFunction(  $parsed) 

Parameters

$parsed

buildSelectExpression()

buildSelectExpression(  $parsed) 

Parameters

$parsed

buildSelectBracketExpression()

buildSelectBracketExpression(  $parsed) 

Parameters

$parsed

buildColRef()

buildColRef(  $parsed) 

Parameters

$parsed

buildReserved()

buildReserved(  $parsed) 

Parameters

$parsed

getDelimiter()

getDelimiter(array  $parsed) : \a

Returns a well-formatted delimiter string. If you don't need nice SQL, you could simply return $parsed['delim'].

Parameters

array $parsed

The part of the output array, which contains the current expression.

Returns

\a —

string, which is added right after the expression