class Subselect extends Node (View source)

Subselect ::= SimpleSelectClause SubselectFromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]

Properties

SimpleSelectClause $simpleSelectClause
SubselectFromClause $subselectFromClause
WhereClause|null $whereClause
GroupByClause|null $groupByClause
HavingClause|null $havingClause
OrderByClause|null $orderByClause

Methods

string
dispatch($sqlWalker)

Double-dispatch method, supposed to dispatch back to the walker.

string
__toString()

Dumps the AST Node into a string representation for information purpose only.

from Node
string
dump(object $obj)

No description

from Node
__construct(SimpleSelectClause $simpleSelectClause, SubselectFromClause $subselectFromClause)

No description

Details

string dispatch($sqlWalker)

Double-dispatch method, supposed to dispatch back to the walker.

Implementation is not mandatory for all nodes.

Parameters

$sqlWalker

Return Value

string

Exceptions

ASTException

string __toString()

Dumps the AST Node into a string representation for information purpose only.

Return Value

string

string dump(object $obj)

Parameters

object $obj

Return Value

string

__construct(SimpleSelectClause $simpleSelectClause, SubselectFromClause $subselectFromClause)

Parameters

SimpleSelectClause $simpleSelectClause
SubselectFromClause $subselectFromClause