Manager
class Manager
Methods
Increment the transaction count / add a new transaction level
Decrement the transaction count / close out a transaction level
Force an immediate rollback, regardless of how many transaction or frame objects exist.
Get the (outermost) SQL transaction (i.e. the one demarcated by BEGIN/COMMIT/ROLLBACK)
No description
No description
Details
at line 58
static Manager
singleton(bool $fresh = FALSE)
at line 70
__construct(CRM_Core_DAO $dao)
at line 82
inc(bool $nest = FALSE)
Increment the transaction count / add a new transaction level
at line 105
dec()
Decrement the transaction count / close out a transaction level
at line 129
forceRollback()
Force an immediate rollback, regardless of how many transaction or frame objects exist.
This is only appropriate when it is certain that the callstack will not wind-down normally -- e.g. before a call to exit().
at line 145
Frame
getFrame()
Get the (innermost) SQL transaction.
at line 155
Frame
getBaseFrame()
Get the (outermost) SQL transaction (i.e. the one demarcated by BEGIN/COMMIT/ROLLBACK)