ILIAS
trunk Revision v11.0_alpha-1851-ga8564da6fed
|
A Whoops error handler that prints the same content as the PrettyPageHandler but as plain text. More...
Public Member Functions | |
withExclusionList (array $exclusion_list) | |
generateResponse () | |
Protected Member Functions | |
getSimpleExceptionOutput (Throwable $exception) | |
getPlainTextExceptionOutput (bool $with_previous=true) | |
Get a short info about the exception. More... | |
tablesContent () | |
Get the header for the page. More... | |
tables () | |
Get the tables that should be rendered. More... | |
Protected Attributes | |
const | KEY_SPACE = 25 |
Private Member Functions | |
stripNullBytes (string $ret) | |
hideSensitiveData (array $super_global) | |
shortenPHPSessionId (array $server) | |
Private Attributes | |
array | $exclusion_list = [] |
A Whoops error handler that prints the same content as the PrettyPageHandler but as plain text.
This is used for better coexistence with xdebug, see #16627.
Definition at line 28 of file class.ilPlainTextHandler.php.
ilPlainTextHandler::generateResponse | ( | ) |
Definition at line 50 of file class.ilPlainTextHandler.php.
References getPlainTextExceptionOutput(), and tablesContent().
|
protected |
Get a short info about the exception.
Definition at line 69 of file class.ilPlainTextHandler.php.
References $message, and getSimpleExceptionOutput().
Referenced by ilTestingHandler\generateResponse(), and generateResponse().
|
protected |
Definition at line 55 of file class.ilPlainTextHandler.php.
Referenced by getPlainTextExceptionOutput().
|
private |
array<string,mixed> | $super_global |
Definition at line 152 of file class.ilPlainTextHandler.php.
Referenced by tables().
|
private |
array<string,mixed> | $server |
Definition at line 171 of file class.ilPlainTextHandler.php.
References $server.
Referenced by tables().
|
private |
Definition at line 45 of file class.ilPlainTextHandler.php.
Referenced by tablesContent().
|
protected |
Get the tables that should be rendered.
Definition at line 128 of file class.ilPlainTextHandler.php.
References $_COOKIE, $_GET, $_SERVER, $post, $server, hideSensitiveData(), and shortenPHPSessionId().
Referenced by tablesContent().
|
protected |
Get the header for the page.
Definition at line 88 of file class.ilPlainTextHandler.php.
References stripNullBytes(), and tables().
Referenced by generateResponse().
ilPlainTextHandler::withExclusionList | ( | array | $exclusion_list | ) |
list<string> | $exclusion_list |
Definition at line 38 of file class.ilPlainTextHandler.php.
References $exclusion_list.
|
private |
Definition at line 33 of file class.ilPlainTextHandler.php.
Referenced by withExclusionList().
|
protected |
Definition at line 30 of file class.ilPlainTextHandler.php.