示例#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);
 }
示例#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;
 }