Beispiel #1
0
 public static function &getInstance()
 {
     if (self::$m_instance == null) {
         self::$m_instance = new self();
     }
     return self::$m_instance;
 }
Beispiel #2
0
 public static final function &trace($a_data)
 {
     $args = func_get_args();
     $instance = Zoombi_Debug::getInstance();
     call_user_func_array(array($instance, 'trace'), $args);
     return $instance;
 }
 public function _shutdown()
 {
     if (Zoombi::ack($this->getConfig()->get('showtrace', false))) {
         Zoombi_Debug::printTraces();
     }
     if (Zoombi::ack($this->getConfig()->get('showerror', false))) {
         $this->showErrors();
     }
 }