Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
DALWhereParser Class Reference
Inheritance diagram for DALWhereParser:
DALQueryParser

Static Public Member Functions

static parse (DomElement $parent, $type='where')
 
static validate (DomElement $parent)
 
- 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)
 

Detailed Description

DALWhereParser.

Where clause parser. Parses a where clause.

Since
4.0.0

Definition at line 25 of file DALWhereParser.inc.

Member Function Documentation

static parse ( DomElement  $parent,
  $type = 'where' 
)
static

Returns the array form of the SELECT query.

Parameters
DomElement$parentQuery element.
string$typeType of the clause, where or having.
Since
4.0.0
Returns
array

Definition at line 52 of file DALWhereParser.inc.

static validate ( DomElement  $parent)
static

Validates where clause.

Throws DALParserException.

Parameters
DomElement$parentThe query element.
Since
4.0.0
Returns
string
Exceptions
DALParserExceptionIf validation fails.

Definition at line 207 of file DALWhereParser.inc.


The documentation for this class was generated from the following file: