Esempio n. 1
0
 /**
  * Rollback the current transction
  * @return bool
  */
 public function rollback_t()
 {
     if (!$this->t) {
         throw new epExceptionManagerBase('Transaction not started');
         return false;
     }
     // rollback all dbs
     $status = $this->t->rollbackDbs();
     // restore object states
     $status = $this->t->rollbackObjects();
     // reset transaction
     $this->t = false;
     return $status;
 }