Esempio n. 1
0
 function __construct()
 {
     // If not outputting to stdout, we should buffer so firephp will work
     if (!$this->printout) {
         ob_start();
     }
     $this->firephp = FirePHP_tp::getInstance(true);
 }
Esempio n. 2
0
 /**
  * Set the instance of the FirePHP singleton
  * 
  * @param FirePHP $instance The FirePHP object instance
  * @return FirePHP
  */
 public static function setInstance($instance)
 {
     return self::$instance = $instance;
 }