View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003870 | mantisbt | plug-ins | public | 2004-05-24 17:13 | 2004-07-07 20:17 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18.3 | ||||
Fixed in Version | 0.19.0a1 | ||||
Summary | 0003870: Support for custom functions which provides hooks for customizing behaviour | ||||
Description | Provide the infrastructure that has a set of custom functions that can be overriden by the user to customise Mantis. custom_function_api.php should provide the default implementation for these functions, the user can then override these function in mantis/custom_functions_inc.php. For example, if we want to allow the user to define the criteria that determines which issues should appear in the changelog, then we can add a "changelog_include_issue" which takes an issue id and returns a bool (true: include, false:exclude). core/custom_function_api.php
/custom_functions_inc.php
The user should be able to call custom_function_default_changelog_include_issue() from within custom_function_override_changelog_include_issue(). The set of available custom functions, their documentation and parameters, can be found in core/custom_function_api.php. With time more hooks and custom functions will be introduced that will provide Mantis users with more flexibility and control. Some of the functions will just be triggers that allows users to do their own actions. | ||||
Tags | No tags attached. | ||||