User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:plugins_events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mantisbt:plugins_events [2007/11/09 10:15] jreesemantisbt: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 12: Line 13:
  
  
-==== Mantis Layout Events ====+==== Layout Events ====
  
 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 to add content to the overall Mantis layout and theme. 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 to add content to the overall Mantis layout and theme.
Line 22: Line 23:
   * **''EVENT_LAYOUT_PAGE_FOOTER''** ( Output ) - 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.   * **''EVENT_LAYOUT_PAGE_FOOTER''** ( Output ) - 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.
  
-==== Mantis Display Events ====+ 
 +==== Display Events ====
  
 These events are called whenever certain content is displayed, allowing plugins to modify the displayed content for formatting or other reasons. These events are called whenever certain content is displayed, allowing plugins to modify the displayed content for formatting or other reasons.
  
-  * **''EVENT_DISPLAY_GENERAL''** ( Chain ) +  * **''EVENT_DISPLAY_TEXT''** ( Chain ) 
-  * **''EVENT_DISPLAY_GENERAL_LINKS''** ( Chain )+  * **''EVENT_DISPLAY_FORMATTED''** ( Chain )
   * **''EVENT_DISPLAY_RSS''** ( Chain )   * **''EVENT_DISPLAY_RSS''** ( Chain )
  
 ===== Content Adding Events ===== ===== Content Adding Events =====
  
-==== Mantis Menu Events ====+==== 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.
Line 43: Line 45:
   * **''EVENT_MENU_ACCOUNT''** ( Default )   * **''EVENT_MENU_ACCOUNT''** ( Default )
  
-==== Mantis View Events ====+==== View Events ====
  
 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.  
Line 53: Line 55:
   * **''EVENT_VIEW_BUG_AFTER_NOTES''** ( Output )   * **''EVENT_VIEW_BUG_AFTER_NOTES''** ( Output )
  
-==== Mantis Update Events ====+==== Update Events ====
  
 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.
Line 61: Line 63:
   * **''EVENT_UPDATE_BUG_AFTER_NOTES''** ( Output )   * **''EVENT_UPDATE_BUG_AFTER_NOTES''** ( Output )
  
-==== Mantis Form Events ====+==== Form Events ====
  
 These events allow plugins to process form data submitted from update pages. These events allow plugins to process form data submitted from update pages.
Line 70: Line 72:
 ===== Other ===== ===== Other =====
  
-==== Filter API Events ====+==== Filter Events ==== 
 + 
 +  * **''EVENT_FILTER_MY_VIEW''** ( Chain ) - This event allows plugins to modify the list of filters shown by the My View page. 
 +  * **''EVENT_FILTER_QUERY''** ( Chain ) - This event allows plugins to modify the database query used for bugs matching a filter.
  
-  * **''EVENT_FILTER_MYVIEW_FILTERS''** ( Chain )+==== Bug Events ====
  
-==== Bug API Events ====+  * **''EVENT_BUG_REPORTED''** ( Execute ) - Triggered when a new bug has been reported. 
 +  * **''EVENT_BUG_UPDATED''** ( Execute ) - Triggered when a bug has been updated. 
 +  * **''EVENT_BUG_RESOLVED''** ( Execute ) - Triggered when a bug is resolved. 
 +  * **''EVENT_BUG_CLOSED''** ( Execute ) - Triggered when a bug has been closed 
 +  * **''EVENT_BUG_NOTE_ADDED''** ( Execute ) - Triggered when a bugnote has been added to a bug.  //Is this superfluous because of EVENT_BUG_UPDATED?//
  
-  * **''EVENT_BUG_REPORTED''** ( Execute ) 
-  * **''EVENT_BUG_UPDATED''** ( Execute ) 
-  * **''EVENT_BUG_RESOLVED''** ( Execute ) 
-  * **''EVENT_BUG_CLOSED''** ( Execute ) 
-  * **''EVENT_BUG_BUGNOTE_ADDED''** ( Execute ) - //Is this superfluous because of EVENT_BUG_UPDATED?// 
  
  
mantisbt/plugins_events.txt · Last modified: 2011/11/16 07:54 by atrol

Driven by DokuWiki