Events are new powerfull way of assigning actions to events. For example if you would like to send email to site administrator when new file is uploaded or new page is created by another user you could add some code to those events to be executed when that event happens.

In brief here's how it works:

a) A module, or the core, can register, and then Send Events such as "newNews", or "newFronteEndUser" or "fileUploaded", "editPage", etc, etc, etc. there's some 50 events in the core at the moment, and then uploads and frontend users have been configured to send events, I still have to do selfreg, etc, etc, etc.

b) there are pages in the admin to allow you to specify which modules, and/or user tags should handle those events, and the order that each of those handlers should be called in.

c) if one of the handlers of an event is a module, then.... the modules DoEvent method is called with the name of the event, and whatever data it wants to send. Each triggered event needs to be documented, but as of this moment, most are.



     Home         Bistro Lounge         Saloon Bar         Accomodation         Contact Info    
The Richmond Arms Hotel | 42 Bridge Street, Richmond TAS 7025 | P: (03) 6260 2109 | F: (03) 6260 2623 | E: richmondarms@bigpond.com.au