|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for SimpleSAML\XML\Errors: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.
Referenced by SimpleSAML\XML\Errors\begin(), and SimpleSAML\XML\Errors\end().
Here is the caller graph for this function:
|
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 SimpleSAML\XML\Errors\addErrors().
Here is the call graph for this function:
|
static |
End error logging.
Definition at line 77 of file Errors.php.
References $ret, and SimpleSAML\XML\Errors\addErrors().
Here is the call graph for this function:
|
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.
Referenced by SimpleSAML\XML\Errors\formatErrors().
Here is the caller graph for this function:
|
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, $ret, and SimpleSAML\XML\Errors\formatError().
Here is the call graph for this function:
|
staticprivate |
Definition at line 21 of file Errors.php.
|
staticprivate |
Definition at line 26 of file Errors.php.