ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Static Public Member Functions | |
static | canSendHeaders () |
Can we at this point in time send HTTP headers? More... | |
static | translateErrorCode ($error_code) |
Translate ErrorException code into the represented constant. More... | |
|
static |
Can we at this point in time send HTTP headers?
Currently this checks if we are even serving an HTTP request, as opposed to running from a command line.
If we are serving an HTTP request, we check if it's not too late.
Definition at line 21 of file Misc.php.
References $_SERVER.
Referenced by Whoops\Handler\JsonResponseHandler\handle(), and Whoops\Handler\PlainTextHandler\handle().
|
static |
Translate ErrorException code into the represented constant.
int | $error_code |
Definition at line 32 of file Misc.php.
Referenced by Whoops\Handler\PrettyPageHandler\handle().