DALInsertParser.
INSERT query parser.
- Since
- 4.0.0
Definition at line 24 of file DALInsertParser.inc.
static parse |
( |
DomElement |
$xmlQuery | ) |
|
|
static |
Construct the INSERT query from XML element.
array( 'into' => string, 'FIELDS' => array( 0 => string, ), 'VALUES' => array( 'column' => mixed, ), )
- Parameters
-
DomElement | $xmlQuery | The query element. |
- Since
- 4.0.0
- Returns
- array
Definition at line 60 of file DALInsertParser.inc.
static validate |
( |
DomElement |
$query | ) |
|
|
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.
- Parameters
-
DomElement | $query | The query element. |
- Since
- 4.0.0
- Returns
- string
- Exceptions
-
Definition at line 123 of file DALInsertParser.inc.
The documentation for this class was generated from the following file: