ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 15 of file Errors.php.
|
staticprivate |
Append current XML errors to the current stack level.
Definition at line 32 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 48 of file Errors.php.
References array.
Referenced by SimpleSAML\Utils\XML\isDOMNodeOfType().
|
static |
End error logging.
Definition at line 77 of file Errors.php.
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 109 of file Errors.php.
References $error.
|
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 127 of file Errors.php.
References $error, $errors, and $ret.
Referenced by SimpleSAML\Utils\XML\isDOMNodeOfType().
|
staticprivate |
Definition at line 21 of file Errors.php.
|
staticprivate |
Definition at line 26 of file Errors.php.