public function commitTransaction() { if (self::$_transactionsEnabled) { $this->_dbHandle->commit(); $this->_startedTransaction = false; } }