Mass Exam Marker Plugin
A Moodle plugin to help mark massive exams.
|
Functions | |
function | init (dat, bid, page) |
function | getSearch () |
function | newSearch () |
function | buildTables (data) |
function | cleanText (txt) |
Variables | |
var | data |
var | aside |
var | booklet_id |
var | page_num |
var | toCheck = new Array("firstname", "middlename", "alternatename", "lastname", "email", "id", "username") |
function buildTables | ( | data | ) |
This function builds the result tables to be displayed of the searched people.
function cleanText | ( | txt | ) |
Rids the given string of " characters.
function getSearch | ( | ) |
Retrieves the input from the input field and lower cases everything.
function init | ( | dat, | |
bid, | |||
page | |||
) |
Sets up the inner
function newSearch | ( | ) |
Searches through the array for a student with input.
var aside |
var booklet_id |
var data |
var page_num |
var toCheck = new Array("firstname", "middlename", "alternatename", "lastname", "email", "id", "username") |
This variable checks the following fields for the student, thus these are the searchable terms. Note: id is the unique key in the DB, thus not included here? or use idnumber? not sure which one to use.