Squiz Matrix
4.12.2
|
Static Public Member Functions | |
static | parse (DomElement $parent) |
static | validate (DomElement $select) |
Static Public Member Functions inherited from DALQueryParser | |
static | parse (DomElement $query) |
static | parseCallQuery (DomElement $call) |
static | validateField (DomElement $field, $allowAlias=FALSE) |
static | validateValuesTag (DomElement $valuesTag) |
static | validateFunctionTag (DomElement $function) |
static | validateHook (DomElement $hook) |
Additional Inherited Members | |
Static Protected Member Functions inherited from DALQueryParser | |
static | parseLimitClause (DomElement $select) |
static | parseInClause (DomElement $inCond, $level=0) |
static | parseExistsClause (DomElement $existsCond, $level=0) |
static | parseChildFields (DomElement $parent) |
static | parseSingleField (DomElement $fieldXML) |
static | parseMathOperation (DomElement $parent, $op='MATH-OP') |
static | parseSqlFunction (DomElement $function) |
static | validateFieldsTag (DomElement $fields) |
static | validateValueTag (DomElement $value) |
static | getUnionTag (DomElement $parentNode) |
static | addHookIds (DomElement $xmlQuery) |
DALGroupBy.
GROUP BY clause parser. Parses GROUP BY clause.
Definition at line 23 of file DALGroupByParser.inc.
|
static |
Get the SQL's GROUP BY clause from XML node.
Returns the array for the ORDER BY clause. array( 'GROUP-BY' => array( 0 => array( 'table' => string, 'column' => string, ), ), )
DomElement | $parent | Parent node. |
Definition at line 59 of file DALGroupByParser.inc.
|
static |
Validates GROUP BY clause.
GROUP BY clause must have at least one field or hook.
DomElement | $select | Select query. |
DALParserException | When the group-by tag doesn't have any fields or hooks. |
Definition at line 86 of file DALGroupByParser.inc.