예제 #1
0
 /**
  * Flush the buffer (if any) and write profiler(s).
  */
 public function flush()
 {
     echo '<div style="border: 1px black solid; background-color: #EAEAEA; padding: 10px; margin: 5px; color: black;">';
     parent::flush();
     echo '</div>';
 }
예제 #2
0
 /**
  * Flush the buffer (if any) and write profiler(s).
  */
 public function flush()
 {
     if (is_null($this->socket)) {
         $this->openSocket();
     }
     parent::flush();
 }
예제 #3
0
 /**
  * Text console debug interface.
  *
  * @param[in] name string Debug session name.
  * @param[in] attach_to_error_handler boolean If the debug system should
  *     overwrite the php's default error_handler.
  * @param[in] buffered boolean Enable/disable buffered output.
  * @param[in] colors boolean Enable/disable colored output.
  */
 public function __construct($name, $attach_to_error_handler = true, $buffered = true, $colors = true)
 {
     parent::__construct($attach_to_error_handler, $buffered);
     $this->name = $name;
     $this->colors = $colors;
 }