|
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 | |
| $id = required_param('id', PARAM_INT) | |
| $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST) | |
| $strimscp = get_string('modulename', 'imscp') | |
| $strimscps = get_string('modulenameplural', 'imscp') | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| $strname = get_string('name') | |
| $strintro = get_string('moduleintro') | |
| $strlastmodified = get_string('lastmodified') | |
| if(!$imscps=get_all_instances_in_course('imscp', $course)) | $usesections = course_format_uses_sections($course->format) |
| if($usesections) | $table = new html_table() |
| $table | attributes ['class'] = 'generaltable mod_index' |
| $currentsection = '' | |
| foreach ($imscps as $imscp) | |
| $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST) |
| $strimscp = get_string('modulename', 'imscp') |
| $strimscps = get_string('modulenameplural', 'imscp') |
| $strintro = get_string('moduleintro') |
| $strlastmodified = get_string('lastmodified') |
| $strname = get_string('name') |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| if ($usesections) $table = new html_table() |
| if (!$imscps=get_all_instances_in_course('imscp', $course)) $usesections = course_format_uses_sections($course->format) |
| $table attributes['class'] = 'generaltable mod_index' |