From b70d86253a99f417b1de944e6cbbd42aaf1b4ba9 Mon Sep 17 00:00:00 2001 From: John Reese Date: Thu, 26 Feb 2009 16:59:18 -0500 Subject: [PATCH] Added basic bug and bugnote view events. --- .../developers/en/event-reference-bug.sgml | 128 +++++++++++++++++- 1 file changed, 126 insertions(+), 2 deletions(-) diff --git a/docbook/developers/en/event-reference-bug.sgml b/docbook/developers/en/event-reference-bug.sgml index 984d5b0a85..4b8e8cb5d5 100644 --- a/docbook/developers/en/event-reference-bug.sgml +++ b/docbook/developers/en/event-reference-bug.sgml @@ -1,5 +1,129 @@ - Bug / Bugnote Actions + Bug and Bugnote Actions + + + Bug View Events + +
+ EVENT_VIEW_BUG_DETAILS (Execute) + +
+ + This event allows a plugin to either process information or display some + data in the bug view page. It is triggered after the row containing the + target version and product build fields, and before the bug summary is + displayed. + + + + Any output here should be defining appropriate rows and columns for the + surrounding <table> elements. + + + + Parameters + <Integer>: Bug ID + <Boolean>: Advanced view (false for simple view) + +
+
+ +
+ EVENT_VIEW_BUG_EXTRA (Execute) + +
+ + This event allows a plugin to either process information or display some + data in the bug view page. It is triggered after the bug notes have been + displayed, but before the history log is shown. + + + + Any output here should be contained within its own + <table> element. + + + + Parameters + <Integer>: Bug ID + <Boolean>: Advanced view (false for simple view) + +
+
+ +
+ + + Bugnote View Events + +
+ EVENT_VIEW_BUGNOTES_START (Execute) + +
+ + This event allows a plugin to either process information or display some + data in the bug notes section, before any bug notes are displayed. It is + triggered after the bug notes section title. + + + + Any output here should be defining appropriate rows and columns for the + surrounding <table> elements. + + + + Parameters + <Integer>: Bug ID + <Complex>: A list of all bugnotes to be displayed to the user + +
+
+ +
+ EVENT_VIEW_BUGNOTE (Execute) + +
+ + This event allows a plugin to either process information or display some + data in the bug notes section, interleaved with the individual bug notes. + It gets triggered after every bug note is displayed. + + + + Any output here should be defining appropriate rows and columns for the + surrounding <table> elements. + + + + Parameters + <Integer>: Bug ID + <Integer>: Bugnote ID + <Boolean>: Private bugnote (false if public) + +
+
+ +
+ EVENT_VIEW_BUGNOTES_END (Execute) + +
+ + This event allows a plugin to either process information or display some + data in the bug notes section, after all bugnotes have been displayed. + + + + Any output here should be defining appropriate rows and columns for the + surrounding <table> elements. + + + + Parameters + <Integer>: Bug ID + +
+
+ +
-