You are here

function qcollection_download_form_submit in Quiz 6.6

This generic submit handler calls specific export functions

File

includes/qcollection/qcollection.inc, line 279

Code

function qcollection_download_form_submit(&$form, &$form_state) {
  $collection_node = $form['#parameters'][2];

  // TODO must be a better way to get this
  $exporter = $form_state['values']['exporter'];
  _questions_export_download($collection_node, $exporter);
}