2 /* The listener protocol is to return true if all is good,
3 * or to return either a string or an array of strings that
4 * detail why a change is not allowed to proceed */
6 //require_once 'MTrack/Milestone.php';
8 interface IMTrackIssueListener
10 //function vetoMilestone(MTrackIssue $issue, MTrack_Milestone $ms, $assoc = true);
11 function vetoKeyword(MTrackIssue $issue, MTrackKeyword $kw, $assoc = true);
12 function vetoComponent(MTrackIssue $issue, MTrackComponent $comp, $assoc = true);
13 function vetoProject(MTrackIssue $issue, MTrackProject $proj, $assoc = true);
14 function vetoComment(MTrackIssue $issue, $comment);
15 function vetoSave(MTrackIssue $issue, $oldFields);
17 function augmentFormFields(MTrackIssue $issue, &$fieldset);
18 function applyPOSTData(MTrackIssue $issue, $data);
19 function augmentSaveParams(MTrackIssue $issue, &$params);
20 function augmentIndexerFields(MTrackIssue $issue, &$idx);