dolibarr 20.0.0
|
Class of triggered functions for agenda 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 triggered functions for agenda module.
Definition at line 35 of file interface_90_modSociete_ContactRoles.class.php.
InterfaceContactRoles::__construct | ( | $db | ) |
Constructor.
Definition at line 42 of file interface_90_modSociete_ContactRoles.class.php.
References description, and name.
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)
Following properties may be set before calling trigger. The may be completed by this trigger to be used for writing the event into database: $object->socid or $object->fk_soc(id of thirdparty) $object->element (element type of object)
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 68 of file interface_90_modSociete_ContactRoles.class.php.
References $object, dol_syslog(), and name.