Zend Framework
3.0
|
Extends DOMXpath to throw ErrorExceptions instead of raising errors. More...
Public Member Functions | |
queryWithErrorException ($expression,\DOMNode $contextNode=null) | |
Evaluates an XPath expression; throws an ErrorException instead of raising an error. | |
addError ($errno, $errstr= '', $errfile= '', $errline=0) | |
Adds an error to the stack of errors. | |
Protected Attributes | |
$errors = [null] | |
Extends DOMXpath to throw ErrorExceptions instead of raising errors.
addError | ( | $errno, | |
$errstr = '' , |
|||
$errfile = '' , |
|||
$errline = 0 |
|||
) |
Adds an error to the stack of errors.
int | $errno | |
string | $errstr | |
string | $errfile | |
int | $errline |
queryWithErrorException | ( | $expression, | |
\DOMNode | $contextNode = null |
||
) |
Evaluates an XPath expression; throws an ErrorException instead of raising an error.
string | $expression | The XPath expression to evaluate. |
\DOMNode | $contextNode |
ErrorException |
|
protected |