CoreAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: bug_group_action_api.php

Source Location: /core/bug_group_action_api.php



Page Details:



Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org








bug_group_action_print_action_fields [line 96]

void bug_group_action_print_action_fields( $p_action $p_action)

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



Parameters

$p_action   $p_action   The custom action name without the "EXT_" prefix.
[ Top ]



bug_group_action_print_bottom [line 35]

void bug_group_action_print_bottom( )

Print the bottom part for the bug action group page.



[ Top ]



bug_group_action_print_bug_list [line 44]

void bug_group_action_print_bug_list( $p_bug_ids_array $p_bug_ids_array)

Print the list of selected issues and the legend for the status colors.



Parameters

$p_bug_ids_array   $p_bug_ids_array   An array of issue ids.
[ Top ]



bug_group_action_print_hidden_fields [line 83]

void bug_group_action_print_hidden_fields( $p_bug_ids_array $p_bug_ids_array)

Print the array of issue ids via hidden fields in the form to be passed on to the bug action group action page.



Parameters

$p_bug_ids_array   $p_bug_ids_array   An array of issue ids.
[ Top ]



bug_group_action_print_title [line 108]

void bug_group_action_print_title( $p_action $p_action)

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



Parameters

$p_action   $p_action   The custom action name without the "EXT_" prefix.
[ Top ]



bug_group_action_print_top [line 28]

void bug_group_action_print_top( )

Print the top part for the bug action group page.



[ Top ]



bug_group_action_process [line 138]

true|array bug_group_action_process( $p_action $p_action, $p_bug_id $p_bug_id)

Executes an action on a bug. This ends up calling action_<action>_process() from bug_actiongroup_<action>_inc.php



Tags:

return:  Action can be applied., ( bug_id => reason for failure to process )


Parameters

$p_action   $p_action   The custom action name without the "EXT_" prefix.
$p_bug_id   $p_bug_id   The id of the bug to validate the action on.
[ Top ]



bug_group_action_validate [line 123]

true|array bug_group_action_validate( $p_action $p_action, $p_bug_id $p_bug_id)

Validates the combination of an action and a bug. This ends up calling action_<action>_validate() from bug_actiongroup_<action>_inc.php



Tags:

return:  true if action can be applied or array of ( bug_id => reason for failure to validate )


Parameters

$p_action   $p_action   The custom action name without the "EXT_" prefix.
$p_bug_id   $p_bug_id   The id of the bug to validate the action on.
[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:11 +0900 by phpDocumentor 1.4.3
inserted by FC2 system