|
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) | |
| $pageid = optional_param('pageid', NULL, PARAM_INT) | |
| $action = optional_param('action', 'reportoverview', PARAM_ALPHA) | |
| $nothingtodisplay = false | |
| $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)) | |
| $context = get_context_instance(CONTEXT_MODULE, $cm->id) | |
| $ufields = user_picture::fields('u') | |
| $params = array("lessonid" => $lesson->id) | |
| if($action== 'reportoverview') | $lessonoutput = $PAGE->get_renderer('mod_lesson') |
| $action = optional_param('action', 'reportoverview', PARAM_ALPHA) |
Definition at line 32 of file report.php.
| $cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST) |
Definition at line 35 of file report.php.
Definition at line 41 of file report.php.
| $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST) |
Definition at line 36 of file report.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 30 of file report.php.
| $lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST)) |
Definition at line 37 of file report.php.
Definition at line 82 of file report.php.
| $nothingtodisplay = false |
Definition at line 33 of file report.php.
| $pageid = optional_param('pageid', NULL, PARAM_INT) |
Definition at line 31 of file report.php.
Definition at line 45 of file report.php.
| $ufields = user_picture::fields('u') |
Definition at line 44 of file report.php.