[otrs-cvs] doc-developer/en/content/hacking-otrs/module-format ticketevent.xml, 1.1, 1.2
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/doc-developer/en/content/hacking-otrs/module-format
In directory lancelot:/tmp/cvs-serv10740/en/content/hacking-otrs/module-format
Modified Files:
ticketevent.xml
Log Message:
Updated to 3.1/3.2 state of affairs.
Author: mb
Index: ticketevent.xml
===================================================================
RCS file: /home/cvs/doc-developer/en/content/hacking-otrs/module-format/ticketevent.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -2 -u -d -r1.1 -r1.2
--- ticketevent.xml 13 Aug 2010 08:59:28 -0000 1.1
+++ ticketevent.xml 29 Jan 2013 09:43:56 -0000 1.2
@@ -7,8 +7,7 @@
Per convention these modules are located in the directory "Kernel/System/Ticket/Event".
An ticket event module needs only the two functions new() and Run().
- The method Run() receives at least the parameters Event, UserID, and TicketID.
- For the events TicketFreeTextUpdate and TicketFreeTimeUpdate, the parameter Counter is also passed
- to the Run() method, in order to identify which free field was updated.
- The article related handler functions also receives the ArticleID as parameter.
+ The method Run() receives at least the parameters Event, UserID, and Data.
+ Data is a hash ref containing data of the ticket, and in case of Article-related events also
+ containing Article data.
</para>
<section id="ticketevent-code">
@@ -39,5 +38,5 @@
<para>
A customized OTRS might hold non-standard data in additional database tables.
- When a ticket is deleteted then this additional data needs to be deleted.
+ When a ticket is deleted then this additional data needs to be deleted.
This functionality can be achieved with a ticket event module listening to 'TicketDelete' events.
</para>
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log