Squiz Matrix
4.12.2
|
Public Member Functions | |
Transaction_Manager () | |
inTransaction ($db_name) | |
begin ($db_name) | |
commit ($db_name) | |
rollback ($db_name) | |
Public Member Functions inherited from MySource_Object | |
MySource_Object () | |
__sleep () | |
__wakeup () | |
Additional Inherited Members | |
Data Fields inherited from MySource_Object | |
$_tmp | |
Definition at line 29 of file transaction_manager.inc.
begin | ( | $db_name | ) |
Begins a transaction
Only does a real begin if this is the first begin
string | $db_name | the DAL connection pool identifier |
Definition at line 83 of file transaction_manager.inc.
commit | ( | $db_name | ) |
Commits a transaction
Only does a real commit if this is the last commit
string | $db_name | the DAL connection pool identifier |
Definition at line 118 of file transaction_manager.inc.
inTransaction | ( | $db_name | ) |
Returns whether we are in a transaction or not
object | &$db | the database object to check |
Definition at line 66 of file transaction_manager.inc.
rollback | ( | $db_name | ) |
Rolls back all open transactions
Only does a real rollback if this is the last rollback
string | $db_name | the DAL connection pool identifier |
Definition at line 166 of file transaction_manager.inc.
Constructor
Definition at line 51 of file transaction_manager.inc.