public function begin()
    {
        if ($this->_activeTransaction) {
            throw new TransactionManagerException("An active transaction already exists.");
        }

        $this->_activeTransaction = true;
        $this->_transactionPaused = false;

        return true;
    }
public function begin()
    {
        if ($this->_activeTransaction) {
            throw new TransactionManagerException("An active transaction already exists.");
        }

        $this->_activeTransaction = true;
        $this->_transactionPaused = false;

        return true;
    }
public function begin ( ) { if ( $ this -> _activeTransaction ) { throw new TransactionManagerException ( "An active transaction already exists." ) ; } $ this -> _activeTransaction = true ; $ this -> _transactionPaused = false ; return true ; }
Begin a transaction.
@return boolean
Begin a transaction .