31,029
edits
| Line 158: | Line 158: | ||
function run_trigger($action,$object,$user,$lang,$conf) | function run_trigger($action,$object,$user,$lang,$conf) | ||
{ | { | ||
// Put here | // Put here code to execute after an action | ||
// | // The type of Dolibarr business event is stored into $action | ||
// | // Data of action are stored into object $object | ||
// | // Setup, user and language are saved into $conf, $user and $lang | ||
<b> | <b> | ||
if ($action == 'XXXXX_YYYYY') | if ($action == 'XXXXX_YYYYY') | ||