public function stop()
    {
        $this->_stop = microtime(true);
        $this->duration = $this->_stop - $this->_start;
        if (function_exists('memory_get_usage')) {
            $this->_memoryStop = memory_get_usage();
            $this->memory = $this->_memoryStop - $this->_memoryStart;
        }
        if (Zend_Registry::get('db') && Zend_Registry::get('db')->getProfiler() instanceof Kwf_Db_Profiler) {
            $this->_queriesStop =  Zend_Registry::get('db')->getProfiler()->getQueryCount();
            $this->queries = $this->_queriesStop - $this->_queriesStart;
        }

        if (Zend_Registry::get('config')->debug->firephp && class_exists('FirePHP') && FirePHP::getInstance() && FirePHP::getInstance()->detectClientExtension()) {
            p($this->identifier.': '.$this->addInfo.' '.implode('; ', $this->getOutput()));
        }
        $this->stopped = true;
    }
public function stop()
    {
        $this->_stop = microtime(true);
        $this->duration = $this->_stop - $this->_start;
        if (function_exists('memory_get_usage')) {
            $this->_memoryStop = memory_get_usage();
            $this->memory = $this->_memoryStop - $this->_memoryStart;
        }
        if (Zend_Registry::get('db') && Zend_Registry::get('db')->getProfiler() instanceof Kwf_Db_Profiler) {
            $this->_queriesStop =  Zend_Registry::get('db')->getProfiler()->getQueryCount();
            $this->queries = $this->_queriesStop - $this->_queriesStart;
        }

        if (Zend_Registry::get('config')->debug->firephp && class_exists('FirePHP') && FirePHP::getInstance() && FirePHP::getInstance()->detectClientExtension()) {
            p($this->identifier.': '.$this->addInfo.' '.implode('; ', $this->getOutput()));
        }
        $this->stopped = true;
    }
public function stop ( ) { $ this -> _stop = microtime ( true ) ; $ this -> duration = $ this -> _stop - $ this -> _start ; if ( function_exists ( 'memory_get_usage' ) ) { $ this -> _memoryStop = memory_get_usage ( ) ; $ this -> memory = $ this -> _memoryStop - $ this -> _memoryStart ; } if ( Zend_Registry :: get ( 'db' ) && Zend_Registry :: get ( 'db' ) -> getProfiler ( ) instanceof Kwf_Db_Profiler ) { $ this -> _queriesStop = Zend_Registry :: get ( 'db' ) -> getProfiler ( ) -> getQueryCount ( ) ; $ this -> queries = $ this -> _queriesStop - $ this -> _queriesStart ; } if ( Zend_Registry :: get ( 'config' ) -> debug -> firephp && class_exists ( 'FirePHP' ) && FirePHP :: getInstance ( ) && FirePHP :: getInstance ( ) -> detectClientExtension ( ) ) { p ( $ this -> identifier . ': ' . $ this -> addInfo . ' ' . implode ( '; ' , $ this -> getOutput ( ) ) ) ; } $ this -> stopped = true ; }
Beendet eine Sequenz
Beendet eine Sequenz