View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023341||mantisbt||other||public||2017-09-11 10:42||2017-09-25 17:08|
|Status||closed||Resolution||no change required|
|Target Version||Fixed in Version|
|Summary||0023341: inferring the current category|
The following custom function statement will set to the variable "$t_project_name" the current project that has been selected:
$t_project_name = project_get_name( helper_get_current_project() );
Is there a similar helper function available to set to a variable the current category that has been chosen (in particular, when the user is on the report issue page)?
|Tags||No tags attached.|
The category is not known to PHP (the server) as long as you are on the report page.
This is not a bug or feature request for MantisBT (you are asking for help on how to writing extensions for MantisBT). I am therefore resolving this issue as "no change required".
Please use the forums to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).
Thanks very much for the feedback.
Please feel free to close this issue.
|2017-09-11 10:42||helfy022||New Issue|
|2017-09-12 04:29||atrol||Assigned To||=> atrol|
|2017-09-12 04:29||atrol||Status||new => resolved|
|2017-09-12 04:29||atrol||Resolution||open => no change required|
|2017-09-12 04:29||atrol||Note Added: 0057691|
|2017-09-15 10:12||helfy022||Note Added: 0057727|
|2017-09-25 17:08||atrol||Status||resolved => closed|