dolibarr 18.0.6
|
Class of triggers for Webhook 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. | |
Class of triggers for Webhook module.
Definition at line 39 of file interface_95_modWebhook_WebhookTriggers.class.php.
InterfaceWebhookTriggers::__construct | ( | $db | ) |
Constructor.
Definition at line 46 of file interface_95_modWebhook_WebhookTriggers.class.php.
References description, and name.
InterfaceWebhookTriggers::getDesc | ( | ) |
Trigger description.
Reimplemented from DolibarrTriggers.
Definition at line 73 of file interface_95_modWebhook_WebhookTriggers.class.php.
InterfaceWebhookTriggers::getName | ( | ) |
Trigger name.
Reimplemented from DolibarrTriggers.
Definition at line 63 of file interface_95_modWebhook_WebhookTriggers.class.php.
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_95_modWebhook_WebhookTriggers.class.php.
References dol_clone(), dol_syslog(), and getURLContent().