Zend_Db_Adapter_Pdo_Abstract::_rollBack PHP Method

_rollBack() protected method

Roll-back a transaction.
protected _rollBack ( )
    protected function _rollBack()
    {
        $this->_connect();
        $this->_connection->rollBack();
    }

Usage Example

 public function _rollBack()
 {
     parent::_rollBack();
     /**
      * Auto-Commit must be tunerd on again after ending a transation.
      * This is the default behavior.
      */
     $this->getConnection()->setAttribute(PDO::ATTR_AUTOCOMMIT, 1);
 }