Mass Exam Marker Plugin
A Moodle plugin to help mark massive exams.
|
Namespaces | |
local | |
Functions | |
display_search ($js) | |
Variables | |
global | $PAGE |
global | $CFG |
global | $DB |
$bid = intval($_GET['booklet_id']) | |
$page = intval($_GET['page']) | |
$datstudents = array() | |
$enrolled = enrol_get_users_courses($USER->id, true,'*', 'visible DESC, sortorder ASC') | |
foreach($enrolled as $course) | $searchable_students |
$img | |
display_search | ( | $js | ) |
Display search method prints everything on screen to actually display everything, and links the Javascript file.
$bid = intval($_GET['booklet_id']) |
global $CFG |
$datstudents = array() |
global $DB |
$enrolled = enrol_get_users_courses($USER->id, true,'*', 'visible DESC, sortorder ASC') |
Retrieve Teacher's courses. Note: enrolled, with no role. this is too generic, later make this so it retrieves only where user has teacher+ privilige.
$img |
global $PAGE |
foreach ($enrolled as $course) $searchable_students |
Retrieves each student enrolled in the list of all courses the teacher is enrolled in.