dolibarr 19.0.4
|
Class of triggers for MyModule module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
getName () | |
Trigger name. | |
getDesc () | |
Trigger description. | |
runTrigger ($action, $object, User $user, Translate $langs, Conf $conf) | |
Function called when a Dolibarrr business event is done. | |
Public Member Functions inherited from DolibarrTriggers | |
__construct (DoliDB $db) | |
Constructor. | |
getVersion () | |
Returns the version of the trigger file. | |
setErrorsFromObject ($object) | |
setErrorsFromObject | |
Class of triggers for MyModule module.
Definition at line 39 of file interface_99_modMyModule_MyModuleTriggers.class.php.
InterfaceMyModuleTriggers::__construct | ( | $db | ) |
Constructor.
Definition at line 46 of file interface_99_modMyModule_MyModuleTriggers.class.php.
References description, and name.
InterfaceMyModuleTriggers::getDesc | ( | ) |
Trigger description.
Reimplemented from DolibarrTriggers.
Definition at line 73 of file interface_99_modMyModule_MyModuleTriggers.class.php.
InterfaceMyModuleTriggers::getName | ( | ) |
Trigger name.
Reimplemented from DolibarrTriggers.
Definition at line 63 of file interface_99_modMyModule_MyModuleTriggers.class.php.
InterfaceMyModuleTriggers::runTrigger | ( | $action, | |
$object, | |||
User | $user, | ||
Translate | $langs, | ||
Conf | $conf ) |
Function called when a Dolibarrr business event is done.
All functions "runTrigger" are triggered if file is inside directory core/triggers
string | $action | Event action code |
CommonObject | $object | Object |
User | $user | Object user |
Translate | $langs | Object langs |
Conf | $conf | Object conf |
Reimplemented from DolibarrTriggers.
Definition at line 91 of file interface_99_modMyModule_MyModuleTriggers.class.php.
References dol_syslog(), and name.