onPHP

DBTransaction Class Reference

 

DBTransaction Class Reference
[Connectors and dialects for various databases]

Database transaction implementation. More...

Inheritance diagram for DBTransaction:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 __destruct ()
 setDB (DB $db)
 isStarted ()
 add (Query $query)
 flush ()

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  ) 

Reimplemented from TransactionSkeleton.

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

References TransactionSkeleton::$db, and isStarted().

Here is the call graph for this function:

DBTransaction::isStarted (  ) 

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

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

DBTransaction::add ( Query query  ) 

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

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

Here is the call graph for this function:

DBTransaction::flush (  ) 

Definition at line 57 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 by doxygen-1.5.1
for onPHP at Tue Feb 13 19:29:48 2007