DALUpdateParser.
Update query parser. Parses Update query.
- Since
- 4.0.0
Definition at line 24 of file DALUpdateParser.inc.
static parse |
( |
DomElement |
$xmlQuery | ) |
|
|
static |
Constructs the SQL's FROM clause from XML node.
Returns the array for the FROM clause. array( 'FROM' => array( 0 => string, ), )
- Parameters
-
DomElement | $xmlQuery | Select Node of the XML. |
- Since
- 4.0.0
- Returns
- array
Definition at line 57 of file DALUpdateParser.inc.
static validate |
( |
DomElement |
$query | ) |
|
|
static |
Validates UPDATE 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
-
DALParserException | If the UPDATE tag doesn't exist, contains no no fields, or has no values. |
Definition at line 120 of file DALUpdateParser.inc.
The documentation for this class was generated from the following file: