$this->Export_CSV($questions, $filename);
break;
case "HTML":
- // $this->Export_HTML($questions, $filename);
+ $this->Export_HTML($questions, $filename);
break;
}
}
$table->add_data(array('', '', $response->text, $response->credit, $response->rcount, $response->rpercent, '', '', '', ''));
}
}
- if( $download == "HTML") {
- $this->Export_HTML($questions, $filename,$table);
- }
print_heading_with_help(get_string("analysistitle", "quiz_analysis"),"itemanalysis", "quiz");
echo '<div id="tablecontainer">';
}
exit;
}
- function Export_HTML(&$questions, $filename,$table) {
+ function Export_HTML(&$questions, $filename) {
$headers = array();
$headers[] = '<span style ="color:blue ; font-weight : bold;">'.get_string('qidtitle','quiz_analysis').'</span>';
$headers[] = '<span style ="color:blue ; font-weight : bold;">'.get_string('qtypetitle','quiz_analysis').'</span>';