public function queryEnd($queryId)
    {
        $state = parent::queryEnd($queryId);

        if (!$this->getEnabled() || $state == self::IGNORED) {
            return;
        }

        $this->_message->setDestroy(false);

        $profile = $this->getQueryProfile($queryId);

        $this->_totalElapsedTime += $profile->getElapsedSecs();

        $this->_message->addRow(array((string)round($profile->getElapsedSecs(),5),
                                      $profile->getQuery(),
                                      ($params=$profile->getQueryParams())?$params:null));

        $this->updateMessageLabel();
    }
public function queryEnd($queryId)
    {
        $state = parent::queryEnd($queryId);

        if (!$this->getEnabled() || $state == self::IGNORED) {
            return;
        }

        $this->_message->setDestroy(false);

        $profile = $this->getQueryProfile($queryId);

        $this->_totalElapsedTime += $profile->getElapsedSecs();

        $this->_message->addRow(array((string)round($profile->getElapsedSecs(),5),
                                      $profile->getQuery(),
                                      ($params=$profile->getQueryParams())?$params:null));

        $this->updateMessageLabel();
    }
public function queryEnd ( $ queryId ) { $ state = parent :: queryEnd ( $ queryId ) ; if ( ! $ this -> getEnabled ( ) || $ state == self :: IGNORED ) { return ; } $ this -> _message -> setDestroy ( false ) ; $ profile = $ this -> getQueryProfile ( $ queryId ) ; $ this -> _totalElapsedTime += $ profile -> getElapsedSecs ( ) ; $ this -> _message -> addRow ( array ( ( string ) round ( $ profile -> getElapsedSecs ( ) , 5 ) , $ profile -> getQuery ( ) , ( $ params = $ profile -> getQueryParams ( ) ) ? $ params : null ) ) ; $ this -> updateMessageLabel ( ) ; }
Intercept the query end and log the profiling data.

@param  integer $queryId
@throws Zend_Db_Profiler_Exception
@return void
Intercept the query end and log the profiling data .