31,026
edits
(→Manage and create a new trigger's action: Add new method for calling trigger) |
|||
| Line 121: | Line 121: | ||
// Data of action are stored into object $object | // Data of action are stored into object $object | ||
// Setup, user and language are saved into $conf, $user and $lang | // Setup, user and language are saved into $conf, $user and $lang | ||
if ($action == 'XXXXX_YYYYY') | if ($action == 'XXXXX_YYYYY') | ||
{ | { | ||
dol_syslog("Trigger for action '$action' launched. id=".$object->id); | dol_syslog("Trigger for action '$action' launched. id=".$object->id); | ||
} | } | ||
elseif ($action == 'COMPANY_CREATE') | elseif ($action == 'COMPANY_CREATE') | ||
{ | { | ||