|
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) | |
| $strlessons = get_string("modulenameplural", "lesson") | |
| Get all required strings. | |
| $strlesson = get_string("modulename", "lesson") | |
| if(!$lessons=get_all_instances_in_course("lesson", $course)) | $usesections = course_format_uses_sections($course->format) |
| Get all the appropriate data. | |
| if($usesections) | $timenow = time() |
| Print the list of instances (your module will probably extend this) | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| $strname = get_string("name") | |
| $strgrade = get_string("grade") | |
| $strdeadline = get_string("deadline", "lesson") | |
| $strnodeadline = get_string("nodeadline", "lesson") | |
| $table = new html_table() | |
| $id = required_param('id', PARAM_INT) |
| $strdeadline = get_string("deadline", "lesson") |
| $strgrade = get_string("grade") |
| $strlesson = get_string("modulename", "lesson") |
| $strlessons = get_string("modulenameplural", "lesson") |
| $strname = get_string("name") |
| $strnodeadline = get_string("nodeadline", "lesson") |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $table = new html_table() |
| if (!$lessons=get_all_instances_in_course("lesson", $course)) $usesections = course_format_uses_sections($course->format) |