Creating Your Own Modules¶
Argentum has the following Events that module writers can hook into in order to extends and enhance Argentum:
- argentum.project_create
- argentum.project_close
- argentum.user_settings_display
- argentum.user_settings_save
- argentum.system_settings_display
- argentum.ticket_create
- argentum.ticket_close
- argentum.ticket_time
- argentum.ticket_update
- argentum.ticket_delete
In order for your module to be registered with Argentum, it needs a file in the hooks folder of the module, which will register your module methods to the above events.
Any events that end with _display will allow you to output html at the time the specified events run. For example, if you utilize the argentum.system_settings_display event, you can add links to the main Settings screen that will allow users to administer your module.
All other events are run in the middle of main application logic, and do not allow for html to be outputted.