dolibarr 20.0.0
|
Class of triggers for Webhook 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. | |
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 Webhook module.
Definition at line 40 of file interface_95_modWebhook_WebhookTriggers.class.php.
InterfaceWebhookTriggers::__construct | ( | $db | ) |
Constructor.
Definition at line 47 of file interface_95_modWebhook_WebhookTriggers.class.php.
References description.
Function called when a Dolibarr business event is done.
All functions "runTrigger" are triggered if file of function 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 67 of file interface_95_modWebhook_WebhookTriggers.class.php.
References $object, dol_clone(), dol_syslog(), getDolGlobalString(), and getURLContent().