Triggers system: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Line 93: Line 93:


=List of known triggers actions=
=List of known triggers actions=
List of all events that launch triggers are available in [[Table llx c action trigger]]. This is a quick list of those events, identified by value of variable '''$action''' into trigger code and type of variable '''$object''' for each code.


In most cases, trigger action code is a key matching this rules:
Here is a quick view of the events that cause triggers to be searched and executed. An event is characterized by the value of the code ''$action'', with the type of the object received in ''$object''.


*Start with module name
Note: The [[Module Agenda]] and [[Notification Module]] use the table [[Table llx c action trigger]] as a list of known triggers. This avoids scanning the disc for this information, but this table is not necessarily exhaustive.
*Other information (isolated with character _)
 
*Action
In general, the trigger action code begins with the name of the module followed by the character _.


{{TemplateListOfTriggers}}
{{TemplateListOfTriggers}}

Navigation menu