Custom function populating ENUM list

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
partymix
Posts: 30
Joined: 01 Nov 2010, 15:21

Custom function populating ENUM list

Post by partymix »

When populating the ENUM field, is there a way to get the bugid inside of the function?

http://www.mantisbt.org/manual/admin.customize.html

i.e. if you have

# --------------------
# To use this in a custom field type "=mine" in the possible values field.
function custom_function_override_enum_mine() {
$t_enum = array();

:

$t_possible_values = implode( '|', $t_enum );

return $t_possible_values;
}

Is there a way to know the ID of the bug that we're currently modifying within this function?
Post Reply