ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
RunInterface.php
Go to the documentation of this file.
1 <?php
7 namespace Whoops;
8 
12 
13 interface RunInterface
14 {
15  const EXCEPTION_HANDLER = "handleException";
16  const ERROR_HANDLER = "handleError";
17  const SHUTDOWN_HANDLER = "handleShutdown";
18 
26  public function pushHandler($handler);
27 
34  public function popHandler();
35 
42  public function getHandlers();
43 
50  public function clearHandlers();
51 
57  public function register();
58 
64  public function unregister();
65 
72  public function allowQuit($exit = null);
73 
81  public function silenceErrorsInPaths($patterns, $levels = 10240);
82 
91  public function sendHttpCode($code = null);
92 
100  public function writeToOutput($send = null);
101 
109  public function handleException($exception);
110 
125  public function handleError($level, $message, $file = null, $line = null);
126 
130  public function handleShutdown();
131 }
$code
Definition: example_050.php:99
handleException(CrawlerException $ex)
Whoops - php errors for cool kids.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file