Class: Doctrine_Transaction_Mysql
Source Location: /Doctrine/Transaction/Mysql.phpClass Doctrine_Transaction_Mysql
Class Overview
Located in /Doctrine/Transaction/Mysql.php [line 33] Doctrine_Connection_Module | --Doctrine_Transaction | --Doctrine_Transaction_MysqlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Transaction Inherited From Doctrine_Connection_Module |
Inherited From Doctrine_Transaction
Inherited From Doctrine_Connection_Module
|
Inherited From Doctrine_Transaction |
[ Top ]
Method Summary
void | createSavePoint() | createSavepoint creates a new savepoint |
string | getIsolation() | getTransactionIsolation |
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]
|
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 ]
getIsolation [line 108]
|
getTransactionIsolation
API Tags:
Return: | returns the current session transaction isolation level |
Access: | public |
Redefinition of:
- Doctrine_Transaction::getIsolation()
- getTransactionIsolation
[ Top ]
releaseSavePoint [line 55]
|
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]
|
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 87]
|
Set the transacton isolation level.
Parameters:string | $isolation: | standard isolation level READ UNCOMMITTED (allows dirty reads) READ COMMITTED (prevents dirty reads) REPEATABLE READ (prevents nonrepeatable reads) SERIALIZABLE (prevents phantom reads) |
API Tags:
Access: | public |
Information Tags:
Throws: | PDOException if something fails at the PDO level |
Throws: | Doctrine_Transaction_Exception if using unknown isolation level |
Redefinition of:
- Doctrine_Transaction::setIsolation()
- setIsolation
[ Top ]