initial code for exporting study groups as CSV
This commit is contained in:
@@ -56,6 +56,7 @@ module_load_include('inc', 'booking', 'booking.variety');
|
||||
module_load_include('inc', 'booking', 'booking.studygroups');
|
||||
// Load the include for study group definitions
|
||||
module_load_include('inc', 'booking', 'booking.studygroups_admin');
|
||||
module_load_include('inc', 'booking', 'booking.studygroups_report');
|
||||
module_load_include('inc', 'booking', 'booking.studygroup_leaders');
|
||||
// Load the include for the travel form
|
||||
module_load_include('inc', 'booking', 'booking.travel');
|
||||
@@ -480,6 +481,15 @@ function booking_menu() {
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/%/view/csv'] = array(
|
||||
'title' => 'Export Study Group',
|
||||
'description' => 'Export Study Group memberships as CSV',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_csv_report', 3),
|
||||
'access arguments' => array('view study groups'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/%/selectleaders'] = array(
|
||||
'title' => 'Select Study Group Leaders',
|
||||
'description' => 'Define attendees to lead or help study groups',
|
||||
|
Reference in New Issue
Block a user