Class: Doctrine_Transaction_Firebird

Source Location: /Doctrine/Transaction/Firebird.php

Class Doctrine_Transaction_Firebird

Class Overview

Located in /Doctrine/Transaction/Firebird.php [line 33]

Doctrine_Connection_Module
   |
   --Doctrine_Transaction
      |
      --Doctrine_Transaction_Firebird
Author(s): Information Tags:
Version:  $Revision: 1269 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Transaction

Doctrine_Transaction::$delete
Doctrine_Transaction::$invalid
Doctrine_Transaction::$savePoints
Doctrine_Transaction::$transactionLevel
Doctrine_Transaction::$_collections

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::$conn
Doctrine_Connection_Module::$moduleName

Inherited From Doctrine_Transaction

Doctrine_Transaction::addCollection()
addCollection adds a collection in the internal array of collections
Doctrine_Transaction::addDelete()
addDelete adds record into pending delete list
Doctrine_Transaction::addInvalid()
addInvalid adds record into invalid records list
Doctrine_Transaction::beginTransaction()
beginTransaction Start a transaction or set a savepoint.
Doctrine_Transaction::bulkDelete()
bulkDelete deletes all records from the pending delete list
Doctrine_Transaction::commit()
commit Commit the database changes done during a transaction that is in progress or release a savepoint. This function may only be called when auto-committing is disabled, otherwise it will fail.
Doctrine_Transaction::createSavePoint()
releaseSavePoint creates a new savepoint
Doctrine_Transaction::getDeletes()
returns the pending delete list
Doctrine_Transaction::getIsolation()
getTransactionIsolation
Doctrine_Transaction::getState()
getState returns the state of this connection
Doctrine_Transaction::getTransactionLevel()
getTransactionLevel get the current transaction nesting level
Doctrine_Transaction::releaseSavePoint()
releaseSavePoint releases given savepoint
Doctrine_Transaction::removeSavePoints()
removeSavePoints removes a savepoint from the internal savePoints array of this transaction object and all its children savepoints
Doctrine_Transaction::rollback()
rollback
Doctrine_Transaction::rollbackSavePoint()
rollbackSavePoint releases given savepoint
Doctrine_Transaction::setIsolation()
setIsolation
Doctrine_Transaction::setTransactionLevel()
getTransactionLevel set the current transaction nesting level

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::__construct()
Doctrine_Connection_Module::getConnection()
getConnection returns the connection object this module uses
Doctrine_Connection_Module::getModuleName()
getModuleName returns the name of this module

Inherited From Doctrine_Transaction

Doctrine_Transaction::STATE_ACTIVE
Doctrine_Transaction::STATE_BUSY
Doctrine_Transaction::STATE_SLEEP

[ Top ]
Method Summary
void   createSavePoint()   createSavepoint creates a new savepoint
void   releaseSavePoint()   releaseSavePoint releases given savepoint
void   rollbackSavePoint()   rollbackSavePoint releases given savepoint
void   setIsolation()   Set the transacton isolation level.

[ Top ]
Properties
Methods
createSavePoint  [line 42]

  void createSavePoint( string $savepoint  )

createSavepoint creates a new savepoint

Parameters:
string   $savepoint:  name of a savepoint to set

API Tags:
Access:  protected


Redefinition of:
Doctrine_Transaction::createSavePoint()
releaseSavePoint creates a new savepoint

[ Top ]
releaseSavePoint  [line 55]

  void releaseSavePoint( string $savepoint  )

releaseSavePoint releases given savepoint

Parameters:
string   $savepoint:  name of a savepoint to release

API Tags:
Access:  protected


Redefinition of:
Doctrine_Transaction::releaseSavePoint()
releaseSavePoint releases given savepoint

[ Top ]
rollbackSavePoint  [line 68]

  void rollbackSavePoint( string $savepoint  )

rollbackSavePoint releases given savepoint

Parameters:
string   $savepoint:  name of a savepoint to rollback to

API Tags:
Access:  protected


Redefinition of:
Doctrine_Transaction::rollbackSavePoint()
rollbackSavePoint releases given savepoint

[ Top ]
setIsolation  [line 91]

  void setIsolation( string $isolation, [array $options = array()]  )

Set the transacton isolation level.

Parameters:
string   $isolation:  standard isolation level (SQL-92) READ UNCOMMITTED (allows dirty reads) READ COMMITTED (prevents dirty reads) REPEATABLE READ (prevents nonrepeatable reads) SERIALIZABLE (prevents phantom reads)
array   $options:  some transaction options: 'wait' => 'WAIT' | 'NO WAIT' 'rw' => 'READ WRITE' | 'READ ONLY'

API Tags:
Access:  public

Information Tags:
Throws:  Doctrine_Transaction_Exception if using unknown isolation level or unknown wait option
Throws:  PDOException if something fails at the PDO level

Redefinition of:
Doctrine_Transaction::setIsolation()
setIsolation

[ Top ]