Product SiteDocumentation Site

5.8. Management Events

EVENT_MANAGE_OVERVIEW_INFO (Output)

This event allows plugins to display special information on the Management Overview page.
Any output here should be defining appropriate rows and columns for the surrounding <table> elements.

Parameters

  • <Boolean>: whether user is administrator

5.8.1. Projects and Versions

EVENT_MANAGE_PROJECT_PAGE (Execute)

This event allows plugins to do processing or display information on the View Project page. It is triggered immediately before the project access blocks.
Any output here should be contained within its own <table> element.

Parameters

  • <Integer>: Project ID

EVENT_MANAGE_PROJECT_CREATE_FORM (Execute)

This event allows plugins to do processing or display form elements on the Create Project page. It is triggered immediately before the submit button.
Any output here should follow the format found in manage_proj_create_page.php. As of 1.3.x this is no longer table elements.

EVENT_MANAGE_PROJECT_CREATE (Execute)

This event allows plugins to do post-processing of newly-created projects and form elements from the Create Project page.

Parameters

  • <Integer>: Project ID

EVENT_MANAGE_PROJECT_UPDATE_FORM (Execute)

This event allows plugins to do processing or display form elements in the Edit Project form on the View Project page. It is triggered immediately before the submit button.
Any output here should follow the format found in manage_proj_edit_page.php. As of 1.3.x this is no longer table elements.

Parameters

  • <Integer>: Project ID

EVENT_MANAGE_PROJECT_UPDATE (Execute)

This event allows plugins to do post-processing of modified projects and form elements from the Edit Project form.

Parameters

  • <Integer>: Project ID

EVENT_MANAGE_PROJECT_DELETE (Execute)

This event allows plugins to do pre-processing of project deletion. This event is triggered prior to the project removal from the database.

Parameters

  • <Integer>: Project ID

EVENT_MANAGE_VERSION_CREATE (Execute)

This event allows plugins to do post-processing of newly-created project versions from the View Project page, or versions copied from other projects. This event is triggered for each version created.

Parameters

  • <Integer>: Version ID

EVENT_MANAGE_VERSION_UPDATE_FORM (Execute)

This event allows plugins to do processing or display form elements on the Update Version page. It is triggered immediately before the submit button.
Any output here should follow the format found in manage_proj_ver_edit_page.php. As of 1.3.x this is no longer table elements.

Parameters

  • <Integer>: Version ID

EVENT_MANAGE_VERSION_UPDATE (Execute)

This event allows plugins to do post-processing of modified versions and form elements from the Edit Version page.

Parameters

  • <Integer>: Version ID

EVENT_MANAGE_VERSION_DELETE (Execute)

This event allows plugins to do pre-processing of version deletion. This event is triggered prior to the version removal from the database.

Parameters

  • <Integer>: Version ID
  • <String>: Replacement version to set on issues that are currently using the version that is about to be deleted.