|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Catches an exception and converts it to an XML response. More...
Inheritance diagram for Whoops\Handler\XmlResponseHandler:
Collaboration diagram for Whoops\Handler\XmlResponseHandler:Public Member Functions | |
| addTraceToOutput ($returnFrames=null) | |
| handle () | |
| contentType () | |
Public Member Functions inherited from Whoops\Handler\Handler | |
| setRun (RunInterface $run) | |
| setInspector (Inspector $inspector) | |
| setException ($exception) | |
| handle () | |
| setRun (RunInterface $run) | |
| setException ($exception) | |
| setInspector (Inspector $inspector) | |
Static Private Member Functions | |
| static | addDataToNode (\SimpleXMLElement $node, $data) |
| static | toXml ($data) |
| The main function for converting to an XML document. More... | |
Private Attributes | |
| $returnFrames = false | |
Additional Inherited Members | |
Data Fields inherited from Whoops\Handler\Handler | |
| const | DONE = 0x10 |
| const | LAST_HANDLER = 0x20 |
| The Handler has handled the Throwable in some way, and wishes to skip any other Handler. More... | |
| const | QUIT = 0x30 |
| The Handler has handled the Throwable in some way, and wishes to quit/stop execution. More... | |
Protected Member Functions inherited from Whoops\Handler\Handler | |
| getRun () | |
| getInspector () | |
| getException () | |
Catches an exception and converts it to an XML response.
Additionally can also return exception frames for consumption by an API.
Definition at line 17 of file XmlResponseHandler.php.
|
staticprivate |
| SimpleXMLElement | $node | Node to append data to, will be modified in place |
| array | \Traversable | $data |
Definition at line 68 of file XmlResponseHandler.php.
References $data, and Whoops\Handler\XmlResponseHandler\addDataToNode().
Referenced by Whoops\Handler\XmlResponseHandler\addDataToNode(), and Whoops\Handler\XmlResponseHandler\toXml().
Here is the call graph for this function:
Here is the caller graph for this function:| Whoops\Handler\XmlResponseHandler::addTraceToOutput | ( | $returnFrames = null | ) |
| bool | null | $returnFrames |
Definition at line 28 of file XmlResponseHandler.php.
References Whoops\Handler\XmlResponseHandler\$returnFrames.
Referenced by Whoops\Handler\XmlResponseHandler\handle().
Here is the caller graph for this function:| Whoops\Handler\XmlResponseHandler::contentType | ( | ) |
Definition at line 58 of file XmlResponseHandler.php.
| Whoops\Handler\XmlResponseHandler::handle | ( | ) |
Implements Whoops\Handler\HandlerInterface.
Definition at line 41 of file XmlResponseHandler.php.
References Whoops\Handler\XmlResponseHandler\addTraceToOutput(), Whoops\Handler\Handler\getInspector(), Whoops\Handler\Handler\QUIT, and Whoops\Handler\XmlResponseHandler\toXml().
Here is the call graph for this function:
|
staticprivate |
The main function for converting to an XML document.
| array | \Traversable | $data |
Definition at line 99 of file XmlResponseHandler.php.
References $data, and Whoops\Handler\XmlResponseHandler\addDataToNode().
Referenced by Whoops\Handler\XmlResponseHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 22 of file XmlResponseHandler.php.
Referenced by Whoops\Handler\XmlResponseHandler\addTraceToOutput().