public function pause()
    {
        if (!$this->_activeTransaction) {
            throw new TransactionManagerException("There is no active transaction.");
        }

        if ($this->_transactionPaused) {
            throw new TransactionManagerException("The transaction is already paused.");
        }

        $this->_transactionPaused = true;
    }
public function pause()
    {
        if (!$this->_activeTransaction) {
            throw new TransactionManagerException("There is no active transaction.");
        }

        if ($this->_transactionPaused) {
            throw new TransactionManagerException("The transaction is already paused.");
        }

        $this->_transactionPaused = true;
    }
public function pause ( ) { if ( ! $ this -> _activeTransaction ) { throw new TransactionManagerException ( "There is no active transaction." ) ; } if ( $ this -> _transactionPaused ) { throw new TransactionManagerException ( "The transaction is already paused." ) ; } $ this -> _transactionPaused = true ; }
Pause the transaction, so that operations after this point are not part of the transaction.
Pause the transaction so that operations after this point are not part of the transaction .