ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | canSendHeaders () |
Can we at this point in time send HTTP headers? More... | |
static | isAjaxRequest () |
static | isCommandLine () |
Check, if possible, that this execution was triggered by a command line. More... | |
static | translateErrorCode ($error_code) |
Translate ErrorException code into the represented constant. More... | |
static | isLevelFatal ($level) |
Determine if an error level is fatal (halts execution) 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.
|
static |
Definition at line 26 of file Misc.php.
References $_SERVER.
|
static |
|
static |
Determine if an error level is fatal (halts execution)
int | $level |
Definition at line 67 of file Misc.php.
References $errors.
Referenced by Whoops\Exception\Inspector\getTrace().
|
static |
Translate ErrorException code into the represented constant.
int | $error_code |
Definition at line 48 of file Misc.php.
Referenced by Whoops\Handler\PrettyPageHandler\getExceptionCode().