dolibarr 21.0.0-beta
|
Class of triggers for notification module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
runTrigger ($action, $object, User $user, Translate $langs, Conf $conf) | |
Function called when a Dolibarr business event is done. | |
getListOfManagedEvents () | |
Return list of events managed by notification module. | |
Public Member Functions inherited from DolibarrTriggers | |
__construct (DoliDB $db) | |
Constructor. | |
getName () | |
Returns the name of the trigger file. | |
getDesc () | |
Returns the description of trigger file. | |
getVersion () | |
Returns the version of the trigger file. | |
setErrorsFromObject (CommonObject $object) | |
setErrorsFromObject | |
Class of triggers for notification module.
Definition at line 34 of file interface_50_modNotification_Notification.class.php.
InterfaceNotification::__construct | ( | $db | ) |
Constructor.
Definition at line 46 of file interface_50_modNotification_Notification.class.php.
References description, and name.
InterfaceNotification::getListOfManagedEvents | ( | ) |
Return list of events managed by notification module.
Definition at line 110 of file interface_50_modNotification_Notification.class.php.
References $conf, $object, dol_print_error(), and dol_syslog().
Function called when a Dolibarr business event is done.
All functions "runTrigger" are triggered if file is inside directory htdocs/core/triggers or htdocs/module/code/triggers (and declared)
string | $action | Event action code |
Object | $object | Object |
User | $user | Object user |
Translate | $langs | Object langs |
conf | $conf | Object conf |
Reimplemented from DolibarrTriggers.
Definition at line 70 of file interface_50_modNotification_Notification.class.php.
References $conf, $object, dol_syslog(), and name.