DALWithParser.
WITH/CONNECT-BY query parser.
- Since
- 4.0.0
Definition at line 25 of file DALWithParser.inc.
static parse |
( |
DomElement |
$xmlQuery | ) |
|
|
static |
Returns the array form of the WITH query.
array( 'WITH' => array( 'FUNCTION' => array(...), 'UNION-ALL' => array(...), 'AFTER' => array(...), // Outer SELECT statement. 'CONNECT-BY-PRIOR' => array(...), // For Oracle DB. ), );
- Parameters
-
DomElement | $xmlQuery | Query element. |
- Since
- 4.0.0
- Returns
- array
Definition at line 59 of file DALWithParser.inc.
static parseSqlFunction |
( |
DomElement |
$function | ) |
|
|
staticprotected |
Converts XML function element to PHP array.
array( 'FUNCTION' => array( 'function' => string, 'ARGS' => array( 0 => mixed, ), ), )
- Parameters
-
DomElement | $function | Function XML node. |
- Since
- 4.0.0
- Returns
- array
Definition at line 113 of file DALWithParser.inc.
static validate |
( |
DomElement |
$xmlQuery | ) |
|
|
static |
Validate WITH query.
- Parameters
-
DomElement | $xmlQuery | The WITH/CONNECT-BY-PRIOR query. |
- Since
- 4.0.0
- Returns
- void
Definition at line 90 of file DALWithParser.inc.
The documentation for this class was generated from the following file: