Mass Exam Marker Plugin
A Moodle plugin to help mark massive exams.
 All Data Structures Namespaces Files Functions Variables
stats.php File Reference

Namespaces

 local
 

Variables

global $PAGE
 
global $CFG
 
global $DB
 
 $form = new stats_sem_form()
 
 $formcourse = new stats_course_form()
 
if($_GET['course_choice'])
else if($_GET['exam_year_sem_choice'])
if($_POST['year_choice_submit'])
else if($_POST['course_choice_submit'])
if(!$_GET['exam_year_sem_choice']&&!$_GET['course_choice']) 
create_stats_page ($crs, $yr)
 

Variable Documentation

global $CFG
global $DB
$form = new stats_sem_form()
$formcourse = new stats_course_form()
global $PAGE
if ($_GET['course_choice']) else if ($_GET['exam_year_sem_choice']) if ($_POST['year_choice_submit']) else if ($_POST['course_choice_submit']) if (!$_GET['exam_year_sem_choice']&&!$_GET['course_choice']) create_stats_page($crs, $yr)

Function that draws the statistics onto the page and provides a link to the downloadable CSV.

The SQL query to retrieve all the totatl marks for each booklet for a specific year and course.

This link generates the CSV by calling csv_generate.php