v5:reference:connection:starttrans
This is an old revision of the document!
startTrans
See Also
Syntax
void startTrans( optional string $monitorFn='ADODB_TransMonitor' )
Description
The function startTrans()
begins a smart transaction. The optional monitor function is called when a transaction fails. This monitor function can be used to control the behaviour of a transaction if it fails.
Usage
/* * Assume database connection */ $db->startTrans();
v5/reference/connection/starttrans.1451336588.txt.gz · Last modified: 2017/04/21 11:32 (external edit)