Executes the Transaction Tests the STARTER triggers, executes the BEFORE triggers, the transaction SQL, the AFTER triggers and the END triggers. If error occurs, it executes the ERROR triggers and exits.
Sets the started property (the starter triggers are the ones that call this function)
Class Details
[line 11]
This class adds a "multiple" layer to the tNG_fields class.
To be used for multiple insert/update and delete, this class instantiates a dynamic number of "simple" insert/update/delete transactions and then executes them in a loop.
Register a trigger to the current transaction Or to the multiple transactions. The STARTER and the END triggers are registered to self, and the other triggers are sent to the multiple transactions.
Tags:
return:
true if the trigger was registered, false if there is an error (unknown trigger type)
access:
public
Parameters:
string
$condition
string
$triggerType
the trigger type (STARTER, AFTER, BEFORE, ERROR or END)
string
$callBackFunction
the function name to callback when the trigger is executed
Register a trigger to the current transaction Or to the multiple transactions. The STARTER and the END triggers are registered to self, and the other triggers are sent to the multiple transactions.
Tags:
return:
true if the trigger was registered, false if there is an error (unknown trigger type)