Esempio n. 1
0
 /**
  * Called before Zend_Controller_Front exits its dispatch loop.
  *
  * @return void
  */
 public function dispatchLoopShutdown()
 {
     // Time dispatch loop process
     Zym_Debug::getTimer('DispatchLoop', 'Dispatch')->stop();
 }
Esempio n. 2
0
    /**
     * Get instance
     * 
     * Implements the singleton pattern
     *
     * @return Zym_Debug
     */
    public static function getInstance()
    {
        if (self::$_instance === null) {
            self::$_instance = new self();
            
            // Setup instance
            self::_init();
        }

        return self::$_instance;
    }