Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/workshop/editform.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)
 $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)
 $strategy = $workshop->grading_strategy_instance()
 $mform = $strategy->get_edit_strategy_form($PAGE->url)
if($mform->is_cancelled()) elseif ($data=$mform->get_data())

Variable Documentation

Definition at line 32 of file editform.php.

Definition at line 30 of file editform.php.

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

Definition at line 33 of file editform.php.

$mform = $strategy->get_edit_strategy_form($PAGE->url)

Definition at line 53 of file editform.php.

$strategy = $workshop->grading_strategy_instance()

Definition at line 50 of file editform.php.

Definition at line 38 of file editform.php.

if ($mform->is_cancelled()) elseif($data=$mform->get_data())

Definition at line 57 of file editform.php.

 All Data Structures Namespaces Files Functions Variables Enumerations