UNB Components Code Reference

UnbDatabase::RollBack method

Rolls back a transaction.

public function UnbDatabase::RollBack ();

Return value

true, if successful, false otherwise.

Remarks

If the transaction counter is greater than 1, the transaction is not actually rolled back. It is the callers' responsibility to pass on the error condition and call RollBack() as often as required to really roll back the transaction.

Exceptions thrown

BadMethodCallException If not in a transaction.

Member of class: UnbDatabase

Implementation file: database.class.php, line 433

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.