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

Go to the source code of this file.

Enumerations

enum  SCORM_REPORT_DEFAULT_PAGE_SIZE
enum  SCORM_REPORT_ATTEMPTS_ALL_STUDENTS
enum  SCORM_REPORT_ATTEMPTS_STUDENTS_WITH
enum  SCORM_REPORT_ATTEMPTS_STUDENTS_WITH_NO

Variables

 $id = required_param('id', PARAM_INT)
 $download = optional_param('download', '', PARAM_RAW)
 $mode = optional_param('mode', '', PARAM_ALPHA)
 $cm = get_coursemodule_from_id('scorm', $id, 0, false, MUST_EXIST)
 $course = $DB->get_record('course', array('id'=>$cm->course), '*', MUST_EXIST)
 $scorm = $DB->get_record('scorm', array('id'=>$cm->instance), '*', MUST_EXIST)
 $contextmodule = get_context_instance(CONTEXT_MODULE, $cm->id)
 $reportlist = scorm_report_list($contextmodule)
 $url = new moodle_url('/mod/scorm/report.php')
 $userdata = null
if(!empty($download)) if(empty($noheader)) $reportclassname = "scorm_{$mode}_report"
 Print the page header.
 $report = new $reportclassname()

Enumeration Type Documentation

Definition at line 27 of file report.php.

Definition at line 28 of file report.php.

Definition at line 29 of file report.php.

Definition at line 26 of file report.php.


Variable Documentation

$cm = get_coursemodule_from_id('scorm', $id, 0, false, MUST_EXIST)

Definition at line 35 of file report.php.

$contextmodule = get_context_instance(CONTEXT_MODULE, $cm->id)

Definition at line 39 of file report.php.

Definition at line 36 of file report.php.

$download = optional_param('download', '', PARAM_RAW)

Definition at line 32 of file report.php.

Definition at line 31 of file report.php.

Definition at line 33 of file report.php.

$report = new $reportclassname()

Definition at line 84 of file report.php.

if (!empty($download)) if (empty($noheader)) $reportclassname = "scorm_{$mode}_report"

Print the page header.

Definition at line 83 of file report.php.

$reportlist = scorm_report_list($contextmodule)

Definition at line 40 of file report.php.

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

Definition at line 37 of file report.php.

$url = new moodle_url('/mod/scorm/report.php')

Definition at line 42 of file report.php.

$userdata = null

Definition at line 63 of file report.php.

 All Data Structures Namespaces Files Functions Variables Enumerations