|
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 | |
| $cmid = required_param('cmid', PARAM_INT) | |
| $method = optional_param('method', 'manual', PARAM_ALPHA) | |
| $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) | |
| $context = $PAGE->context | |
| $allocator = $workshop->allocator_instance($method) | |
| $initresult = $allocator->init() | |
| $output = $PAGE->get_renderer('mod_workshop') | |
| $allocators = workshop::installed_allocators() | |
| if(!empty($allocators)) | $tabs [] = $row |
| $allocator = $workshop->allocator_instance($method) |
Definition at line 52 of file allocation.php.
| $allocators = workshop::installed_allocators() |
Definition at line 61 of file allocation.php.
| $cm = get_coursemodule_from_id('workshop', $cmid, 0, false, MUST_EXIST) |
Definition at line 37 of file allocation.php.
| $cmid = required_param('cmid', PARAM_INT) |
Definition at line 34 of file allocation.php.
Definition at line 45 of file allocation.php.
| $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST) |
Definition at line 38 of file allocation.php.
| $initresult = $allocator->init() |
Definition at line 53 of file allocation.php.
| $method = optional_param('method', 'manual', PARAM_ALPHA) |
Definition at line 35 of file allocation.php.
| $output = $PAGE->get_renderer('mod_workshop') |
Definition at line 58 of file allocation.php.
| if (!empty($allocators)) $tabs[] = $row |
Definition at line 74 of file allocation.php.
| $workshop = $DB->get_record('workshop', array('id' => $cm->instance), '*', MUST_EXIST) |
Definition at line 39 of file allocation.php.