protected function DBTransactionSetUp()
    {
        $this->_transaction = db_transaction(uniqid());

        $shutdown = '\\StatonLab\\TripalTestSuite\\DBTransaction::rollbackTransaction';
        register_shutdown_function($shutdown, $this->_transaction);
    }
protected function DBTransactionSetUp()
    {
        $this->_transaction = db_transaction(uniqid());

        $shutdown = '\\StatonLab\\TripalTestSuite\\DBTransaction::rollbackTransaction';
        register_shutdown_function($shutdown, $this->_transaction);
    }
protected function DBTransactionSetUp ( ) { $ this -> _transaction = db_transaction ( uniqid ( ) ) ; $ shutdown = '\\StatonLab\\TripalTestSuite\\DBTransaction::rollbackTransaction' ; register_shutdown_function ( $ shutdown , $ this -> _transaction ) ; }
Start a Drupal DB Transaction.
Start a Drupal DB Transaction .