ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Catches an exception and converts it to an XML response. More...
Public Member Functions | |
addTraceToOutput ($returnFrames=null) | |
handle () | |
contentType () | |
Public Member Functions inherited from Whoops\Handler\Handler | |
setRun (RunInterface $run) | |
setInspector (Inspector $inspector) | |
setException ($exception) | |
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, $key, and string.
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().
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 $response, Whoops\Handler\XmlResponseHandler\addTraceToOutput(), Whoops\Handler\Handler\getInspector(), Whoops\Handler\Handler\QUIT, and Whoops\Handler\XmlResponseHandler\toXml().
|
staticprivate |
The main function for converting to an XML document.
array | \Traversable | $data |
Definition at line 99 of file XmlResponseHandler.php.
References $data.
Referenced by Whoops\Handler\XmlResponseHandler\handle().
|
private |
Definition at line 22 of file XmlResponseHandler.php.
Referenced by Whoops\Handler\XmlResponseHandler\addTraceToOutput().