|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | mod |
Local Library of functions for module scorm. | |
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $mode = optional_param('mode', '', PARAM_ALPHA) | |
| $link = optional_param('link', 0, PARAM_INT) | |
| $cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST) | |
| $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST) | |
| $lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST)) | |
| $url = new moodle_url('/mod/lesson/highscores.php', array('id'=>$id)) | |
| $context = get_context_instance(CONTEXT_MODULE, $cm->id) | |
| $lessonoutput = $PAGE->get_renderer('mod_lesson') | |
| switch ($mode) | |
| $cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST) |
Definition at line 35 of file highscores.php.
Definition at line 50 of file highscores.php.
| $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST) |
Definition at line 36 of file highscores.php.
| $id = required_param('id', PARAM_INT) |
include required files
Definition at line 31 of file highscores.php.
| $lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST)) |
Definition at line 37 of file highscores.php.
| $lessonoutput = $PAGE->get_renderer('mod_lesson') |
Definition at line 162 of file highscores.php.
| $link = optional_param('link', 0, PARAM_INT) |
Definition at line 33 of file highscores.php.
| $mode = optional_param('mode', '', PARAM_ALPHA) |
Definition at line 32 of file highscores.php.
Definition at line 41 of file highscores.php.
Definition at line 165 of file highscores.php.