mantisbt:plugins_events
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mantisbt:plugins_events [2007/11/09 10:02] – jreese | mantisbt:plugins_events [2011/11/16 07:54] (current) – The page rendering was broken (maybe since new PHP version on mantisbt.org). Added new line to fix it at end of file. atrol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| ====== Plugin Events Reference ====== | ====== Plugin Events Reference ====== | ||
| Line 7: | Line 8: | ||
| ===== Plugin API Events ===== | ===== Plugin API Events ===== | ||
| - | ** EVENT_PLUGIN_INIT ** ( Execute ) | + | |
| - | This event is triggered by the Mantis core immediately after all plugins have been registered. | + | |
| ===== Output Modifying Events ===== | ===== Output Modifying Events ===== | ||
| - | ==== Mantis Layout Events ==== | ||
| - | These events will be called on every page load, and are defined with relation to the overall style and layout of Mantis. | + | ==== Layout Events ==== |
| - | ** EVENT_LAYOUT_RESOURCES ** ( Output ) | + | These events will be called on every page load, and are defined with relation to the overall style and layout of Mantis. They allow plugins |
| - | This event is triggered before the end of the ''< | + | |
| - | ** EVENT_LAYOUT_PAGE_HEADER | + | |
| - | This event is triggered after the site title and Mantis logo have been displayed, but before the login information and menu. | + | * **'' |
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| - | ** EVENT_LAYOUT_CONTENT_BEGIN ** ( Output ) | ||
| - | This event is triggered after the Mantis menu has been displayed, at the beginning of the content section. | ||
| - | ** EVENT_LAYOUT_CONTENT_END ** ( Output ) | + | ==== Display Events ==== |
| - | This event is triggered after the content section has been displayed, but before the footer section. | + | |
| - | ** EVENT_LAYOUT_PAGE_FOOTER | + | These events are called whenever certain content is displayed, allowing plugins to modify the displayed content for formatting or other reasons. |
| - | This event is triggered after the normal Mantis footer has been displayed, and any output from this event should be the last elements displayed on the page. | + | |
| + | | ||
| + | * **'' | ||
| + | * **'' | ||
| ===== Content Adding Events ===== | ===== Content Adding Events ===== | ||
| - | ==== Mantis | + | ==== Menu Events ==== |
| These events allow plugins to hook menu events in order to add new menu items in various places. | These events allow plugins to hook menu events in order to add new menu items in various places. | ||
| - | ** EVENT_MENU_MAIN ** ( Default ) | + | |
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| - | ** EVENT_MENU_MANAGE ** ( Default ) | + | ==== View Events ==== |
| - | + | ||
| - | ** EVENT_MENU_MANAGE_CONFIG ** ( Default ) | + | |
| - | + | ||
| - | ** EVENT_MENU_SUMMARY ** ( Default ) | + | |
| - | + | ||
| - | ** EVENT_MENU_DOCS ** ( Default ) | + | |
| - | + | ||
| - | ** EVENT_MENU_ACCOUNT ** ( Default ) | + | |
| - | + | ||
| - | ==== Mantis | + | |
| These events allow plugins to add new content to individual view pages in various locations. | These events allow plugins to add new content to individual view pages in various locations. | ||
| - | ** EVENT_VIEW_BUG_AFTER_DETAILS ** ( Output ) | + | |
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| - | ** EVENT_VIEW_BUG_AFTER_RELATIONSHIP ** ( Output ) | + | ==== Update Events ==== |
| - | + | ||
| - | ** EVENT_VIEW_BUG_AFTER_UPLOAD ** ( Output ) | + | |
| - | + | ||
| - | ** EVENT_VIEW_BUG_AFTER_USERS ** ( Output ) | + | |
| - | + | ||
| - | ** EVENT_VIEW_BUG_AFTER_NOTES ** ( Output ) | + | |
| - | + | ||
| - | ==== Mantis | + | |
| These events allow plugins to add new forms or form elements to an update page in various locations. | These events allow plugins to add new forms or form elements to an update page in various locations. | ||
| - | ** EVENT_UPDATE_BUG_AFTER_DETAILS ** ( Output ) | + | |
| + | * **'' | ||
| + | * **'' | ||
| - | ** EVENT_UPDATE_BUG_AFTER_FORM ** ( Output ) | + | ==== Form Events ==== |
| - | + | ||
| - | ** EVENT_UPDATE_BUG_AFTER_NOTES ** ( Output ) | + | |
| - | + | ||
| - | ==== Mantis | + | |
| These events allow plugins to process form data submitted from update pages. | These events allow plugins to process form data submitted from update pages. | ||
| - | ** EVENT_FORM_BUG_BEFORE ** ( Execute ) | + | |
| - | + | | |
| - | ** EVENT_FORM_BUG_AFTER ** ( Execute ) | + | |
| ===== Other ===== | ===== Other ===== | ||
| - | ==== Filter | + | ==== Filter Events ==== |
| - | + | ||
| - | ** EVENT_FILTER_MYVIEW_FILTERS ** ( Chain ) | + | |
| - | + | ||
| - | ==== Bug API Events ==== | + | |
| - | + | ||
| - | ** EVENT_BUG_REPORTED ** ( Execute ) | + | |
| - | ** EVENT_BUG_UPDATED | + | |
| + | * **'' | ||
| - | ** EVENT_BUG_RESOLVED ** ( Execute ) | + | ==== Bug Events ==== |
| - | ** EVENT_BUG_CLOSED ** ( Execute ) | + | |
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| + | * **'' | ||
| - | ** EVENT_BUG_BUGNOTE_ADDED ** ( Execute ) //Is this superfluous because of EVENT_BUG_UPDATED?// | ||
mantisbt/plugins_events.1194620541.txt.gz · Last modified: (external edit)
