ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | begin () |
Start error logging. More... | |
static | end () |
End error logging. More... | |
static | formatError ($error) |
Format an error as a string. More... | |
static | formatErrors ($errors) |
Format a list of errors as a string. More... | |
Static Private Member Functions | |
static | addErrors () |
Append current XML errors to the current stack level. More... | |
Static Private Attributes | |
static | $errorStack = array() |
static | $xmlErrorState |
Definition at line 17 of file Errors.php.
|
staticprivate |
Append current XML errors to the current stack level.
Definition at line 34 of file Errors.php.
|
static |
Start error logging.
A call to this function will begin a new error logging context. Every call must have a corresponding call to end().
Definition at line 50 of file Errors.php.
Referenced by SimpleSAML\Utils\XML\isDOMNodeOfType().
|
static |
End error logging.
Definition at line 79 of file Errors.php.
References $ret.
Referenced by SimpleSAML\Utils\XML\isDOMNodeOfType().
|
static |
Format an error as a string.
This function formats the given LibXMLError object as a string.
\LibXMLError | $error | The LibXMLError which should be formatted. |
Definition at line 111 of file Errors.php.
|
static |
Format a list of errors as a string.
This fucntion takes an array of LibXMLError objects and creates a string with all the errors. Each error will be separated by a newline, and the string will end with a newline-character.
array | $errors | An array of errors. |
Definition at line 129 of file Errors.php.
Referenced by SimpleSAML\Utils\XML\isDOMNodeOfType().
|
staticprivate |
Definition at line 23 of file Errors.php.
|
staticprivate |
Definition at line 28 of file Errors.php.