[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> bug_group_action_api.php (summary)

Bug Group Action API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 318 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  bug_group_action_print_top()
  bug_group_action_print_bottom()
  bug_group_action_print_bug_list()
  bug_group_action_print_hidden_fields()
  bug_group_action_print_action_fields()
  bug_group_action_print_title()
  bug_group_action_validate()
  bug_group_action_process()
  bug_group_action_get_commands()

Functions
Functions that are not part of a class:

bug_group_action_print_top()   X-Ref
Print the top part for the bug action group page.


bug_group_action_print_bottom()   X-Ref
Print the bottom part for the bug action group page.


bug_group_action_print_bug_list( $p_bug_ids_array )   X-Ref
Print the list of selected issues and the legend for the status colors.

param: $p_bug_ids_array   An array of issue ids.

bug_group_action_print_hidden_fields( $p_bug_ids_array )   X-Ref
Print the array of issue ids via hidden fields in the form to be passed on to
the bug action group action page.

param: $p_bug_ids_array   An array of issue ids.

bug_group_action_print_action_fields( $p_action )   X-Ref
Prints the list of fields in the custom action form.  These are the user inputs
and the submit button.  This ends up calling action_<action>_print_fields()
from bug_actiongroup_<action>_inc.php

param: $p_action   The custom action name without the "EXT_" prefix.

bug_group_action_print_title( $p_action )   X-Ref
Prints some title text for the custom action page.  This ends up calling
action_<action>_print_title() from bug_actiongroup_<action>_inc.php

param: $p_action   The custom action name without the "EXT_" prefix.

bug_group_action_validate( $p_action, $p_bug_id )   X-Ref
Validates the combination of an action and a bug.  This ends up calling
action_<action>_validate() from bug_actiongroup_<action>_inc.php

returns: true|array true if action can be applied or array of ( bug_id => reason for failure to validate )
param: $p_action   The custom action name without the "EXT_" prefix.
param: $p_bug_id   The id of the bug to validate the action on.

bug_group_action_process( $p_action, $p_bug_id )   X-Ref
Executes an action on a bug.  This ends up calling
action_<action>_process() from bug_actiongroup_<action>_inc.php

returns: true|array Action can be applied., ( bug_id => reason for failure to process )
param: $p_action   The custom action name without the "EXT_" prefix.
param: $p_bug_id   The id of the bug to validate the action on.

bug_group_action_get_commands( $p_project_ids = null )   X-Ref
Get a list of bug group actions available to the current user for one or
more projects.

param: array $p_projects An array containing one or more project IDs
return: null



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7