DBTransaction Class Reference
[Tools for working with transactions]

Database transaction implementation. More...

Inheritance diagram for DBTransaction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __destruct ()
 setDB (DB $db)
 
Returns:
DBTransaction

 isStarted ()
 add (Query $query)
 
Returns:
DBTransaction

 flush ()
 
Returns:
DBTransaction


Private Attributes

 $started = false


Detailed Description

Database transaction implementation.

Definition at line 18 of file DBTransaction.class.php.


Constructor & Destructor Documentation

DBTransaction::__destruct (  ) 

Definition at line 22 of file DBTransaction.class.php.

References isStarted().

Here is the call graph for this function:


Member Function Documentation

DBTransaction::setDB ( DB db  ) 

Returns:
DBTransaction

Reimplemented from BaseTransaction.

Definition at line 31 of file DBTransaction.class.php.

References isStarted().

Here is the call graph for this function:

DBTransaction::isStarted (  ) 

Definition at line 41 of file DBTransaction.class.php.

Referenced by __destruct(), add(), and setDB().

DBTransaction::add ( Query query  ) 

Returns:
DBTransaction

Definition at line 49 of file DBTransaction.class.php.

References BaseTransaction::getBeginString(), and isStarted().

Here is the call graph for this function:

DBTransaction::flush (  ) 

Returns:
DBTransaction

Reimplemented from BaseTransaction.

Definition at line 64 of file DBTransaction.class.php.


Member Data Documentation

DBTransaction::$started = false [private]

Definition at line 20 of file DBTransaction.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:15 2007 for onPHP by  doxygen 1.5.4