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); }
/** * 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; }