* Sends the command to start a transaction. This command should never
* be reached as it's always overridden
*/
- public abstract function transaction_start();
+ public abstract function transactionStart();
// ###################################################################
/**
*
* @param string Named savepoint
*/
- public abstract function transaction_savepoint($name);
+ public abstract function transactionSavepoint($name);
// ###################################################################
/**
*
* @param string Named savepoint
*/
- public abstract function transaction_rollback($name = null);
+ public abstract function transactionRollback($name = null);
// ###################################################################
/**
* Sends the command to commit the entire transaction. This command
* should never be reached as it's always overridden
*/
- public abstract function transaction_commit();
+ public abstract function transactionCommit();
// ###################################################################
/**
/**
* Starts a database transaction
*/
- public function transaction_start()
+ public function transactionStart()
{
$this->query("BEGIN WORK");
}
*
* @param string Named savepoint
*/
- public function transaction_savepoint($name)
+ public function transactionSavepoint($name)
{
$this->query("SAVEPOINT $name");
}
*
* @param string Named savepoint
*/
- public function transaction_rollback($name = null)
+ public function transactionRollback($name = null)
{
$this->query("ROLLBACK" . ($name != null ? " TO SAVEPOINT $name" : ""));
}
/**
* Commits a database transaction
*/
- public function transaction_commit()
+ public function transactionCommit()
{
$this->query("COMMIT");
}