MDL-38359 Marking Allocation and Workflow code

based on Marking workflow code from Damyon Wiese
This commit is contained in:
Dan Marsden
2013-06-11 14:11:41 +08:00
committed by Damyon Wiese
parent ab8e5e795d
commit f8d107b3a8
20 changed files with 970 additions and 35 deletions
@@ -64,6 +64,12 @@ class mod_assign_grading_batch_operations_form extends moodleform {
}
}
}
if ($instance['markingworkflow']) {
$options['setmarkingworkflowstate'] = get_string('setmarkingworkflowstate', 'assign');
}
if ($instance['markingallocation']) {
$options['setmarkingallocation'] = get_string('setmarkingallocation', 'assign');
}
$mform->addElement('hidden', 'action', 'gradingbatchoperation');
$mform->setType('action', PARAM_ALPHA);