ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilTestingHandler Class Reference

A Whoops error handler for testing. More...

+ Inheritance diagram for ilTestingHandler:
+ Collaboration diagram for ilTestingHandler:

Protected Member Functions

 pageHeader ()
 Get the header for the page. More...
 
- Protected Member Functions inherited from ilPlainTextHandler
 content ()
 Assemble the output for this handler. More...
 
 pageHeader ()
 Get the header for the page. More...
 
 exceptionContent ()
 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 Member Functions inherited from Whoops\Handler\Handler
 getRun ()
 
 getInspector ()
 
 getException ()
 

Additional Inherited Members

- Public Member Functions inherited from ilPlainTextHandler
 handle ()
 Last missing method from HandlerInterface. More...
 
- Public Member Functions inherited from Whoops\Handler\Handler
 setRun (RunInterface $run)
 
 setInspector (Inspector $inspector)
 
 setException ($exception)
 
- Data Fields inherited from ilPlainTextHandler
const KEY_SPACE = 25
 
- 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...
 

Detailed Description

A Whoops error handler for testing.

This yields the same output as the plain text handler, but prints a nice message to the tester on top of the page.

Author
Richard Klees richa.nosp@m.rd.k.nosp@m.lees@.nosp@m.conc.nosp@m.epts-.nosp@m.and-.nosp@m.train.nosp@m.ing..nosp@m.de
Version
$Id$

Definition at line 17 of file class.ilTestingHandler.php.

Member Function Documentation

◆ pageHeader()

ilTestingHandler::pageHeader ( )
protected

Get the header for the page.

Returns
string

Definition at line 23 of file class.ilTestingHandler.php.

23  {
24  return "DEAR TESTER! AN ERROR OCCURRED... PLEASE INCLUDE THE FOLLOWING OUTPUT AS ADDITIONAL INFORMATION IN YOUR BUG REPORT.\n\n";
25  }

The documentation for this class was generated from the following file: