28        header(
"Content-Type: text/plain");
 
   64        return Formatter::formatExceptionPlain($this->
getInspector());
 
   76            $ret .= 
"\n\n-- $title --\n\n";
 
   77            if (count($content) > 0) {
 
   78                foreach ($content as 
$key => $value) {
 
   79                    $key = str_pad(
$key, self::KEY_SPACE);
 
   84                    $indentation = str_pad(
"", self::KEY_SPACE);
 
   85                    $value = implode(
"\n", array_map(
function ($line) use (&$first, $indentation) {
 
   90                        return $indentation . $line;
 
   91                    }, explode(
"\n", print_r($value, 
true))));
 
   93                    $ret .= 
"$key: $value\n";
 
  116        return array( 
"GET Data" => 
$_GET 
  117            , 
"POST Data" => 
$post 
  121            , 
"Server/Request Data" => 
$server 
  122            , 
"Environment Variables" => $_ENV
 
  134        if (isset($superGlobal[
"password"])) {
 
  135            $superGlobal[
"password"] = 
"REMOVED FOR SECURITY";
 
  138        if (isset($superGlobal[
"post_vars"]) && isset($superGlobal[
"post_vars"][
"password"])) {
 
  139            $superGlobal[
"post_vars"][
"password"] = 
"REMOVED FOR SECURITY";
 
  154        $cookie_content = 
$server[
"HTTP_COOKIE"];
 
  155        $cookie_content = explode(
";", $cookie_content);
 
  157        foreach ($cookie_content as 
$key => $content) {
 
  158            $content_array = explode(
"=", $content);
 
  159            if (trim($content_array[0]) == session_name()) {
 
  160                $content_array[1] = substr($content_array[1], 0, 5) . 
" (SHORTENED FOR SECURITY)";
 
  161                $cookie_content[
$key] = implode(
"=", $content_array);
 
  165        $server[
"HTTP_COOKIE"] = implode(
";", $cookie_content);
 
An exception for terminatinating execution or to throw for unit testing.
Abstract implementation of a Handler.
pageHeader()
Get the header for the page.
tablesContent()
Get the header for the page.
hidePassword(array $superGlobal)
Replace password from super global array with security message.
exceptionContent()
Get a short info about the exception.
handle()
Last missing method from HandlerInterface.
shortenPHPSessionId(array $server)
Shorts the php session id.
tables()
Get the tables that should be rendered.
content()
Assemble the output for this handler.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']