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

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $cmid = required_param('cmid', PARAM_INT)
 $phase = required_param('phase', PARAM_INT)
 $confirm = optional_param('confirm', false, PARAM_BOOL)
 $cm = get_coursemodule_from_id('workshop', $cmid, 0, false, MUST_EXIST)
 $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST)
 $workshop = $DB->get_record('workshop', array('id' => $cm->instance), '*', MUST_EXIST)

Variable Documentation

Definition at line 34 of file switchphase.php.

Definition at line 30 of file switchphase.php.

Definition at line 32 of file switchphase.php.

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

Definition at line 35 of file switchphase.php.

$phase = required_param('phase', PARAM_INT)

Definition at line 31 of file switchphase.php.

Definition at line 36 of file switchphase.php.

 All Data Structures Namespaces Files Functions Variables Enumerations