Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/lesson/grade.php File Reference

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)
 $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))

Variable Documentation

Definition at line 35 of file grade.php.

$course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST)

Definition at line 36 of file grade.php.

Require config.php

Definition at line 33 of file grade.php.

$lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST))

Definition at line 37 of file grade.php.

 All Data Structures Namespaces Files Functions Variables Enumerations