Squiz Matrix
4.12.2
|
Static Public Member Functions | |
static | parse (DomElement $xmlQuery) |
static | validate (DomElement $query) |
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) |
|
static |
Construct the INSERT query from XML element.
array( 'into' => string, 'FIELDS' => array( 0 => string, ), 'VALUES' => array( 'column' => mixed, ), )
DomElement | $xmlQuery | The query element. |
Definition at line 60 of file DALInsertParser.inc.
|
static |
Validates INSERT query.
Throws DALParserException. Note: This validation checks required XML elements and attributes. It does not check if tables, columns etc exists in the system.
DomElement | $query | The query element. |
DALParserException | If the INSERT tag is malformed. |
Definition at line 123 of file DALInsertParser.inc.