You are here

class pressflow_transaction in Transaction 5

Legacy compatibility wrapper for transaction class.

Hierarchy

Expanded class hierarchy of pressflow_transaction

Deprecated

2008-08-12

See also

transaction

File

./transaction.module, line 250
Provides a database transaction system for use with InnoDB tables in MySQL.

View source
class pressflow_transaction extends Transaction {

  /**
   * @see Transaction::rollbackIfFalse
   */
  public function rollback_if_false($var) {
    return parent::rollbackIfFalse($var);
  }

  /**
   * @see Transaction::willRollback
   */
  public function will_rollback() {
    return parent::willRollback();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
pressflow_transaction::rollback_if_false public function
pressflow_transaction::will_rollback public function
Transaction::$AllowCommit private static property Will the commit be allowed?
Transaction::$Layers private static property The number of transactions that have been nested within this one.
Transaction::rollback public function Force this transaction to roll back when finished.
Transaction::rollbackIfFalse public function If the given value is FALSE (value AND type), roll back the current transaction.
Transaction::willRollback public function Will this transaction roll back instead of committing?
Transaction::__construct public function Create a new transaction.
Transaction::__destruct public function Complete the transaction by either performing a commit or a rollback depending on the state of the object's allow_commit property.