Database transaction implementation. More...
Public Member Functions | |
__destruct () | |
setDB (DB $db) | |
isStarted () | |
add (Query $query) | |
flush () | |
Private Attributes | |
$started = false |
Database transaction implementation.
Definition at line 17 of file DBTransaction.class.php.
DBTransaction::__destruct | ( | ) |
Definition at line 21 of file DBTransaction.class.php.
References isStarted().
DBTransaction::add | ( | Query $ | query | ) |
Definition at line 48 of file DBTransaction.class.php.
References BaseTransaction::getBeginString(), and isStarted().
DBTransaction::flush | ( | ) |
Reimplemented from BaseTransaction.
Definition at line 63 of file DBTransaction.class.php.
DBTransaction::isStarted | ( | ) |
Definition at line 40 of file DBTransaction.class.php.
Referenced by __destruct(), add(), and setDB().
DBTransaction::setDB | ( | DB $ | db | ) |
Reimplemented from BaseTransaction.
Definition at line 30 of file DBTransaction.class.php.
References isStarted().
DBTransaction::$started = false [private] |
Definition at line 19 of file DBTransaction.class.php.