|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $context = get_context_instance(CONTEXT_COURSE, $course->id) | |
| $strglossarys = get_string("modulenameplural", "glossary") | |
| Get all required strings. | |
| $strglossary = get_string("modulename", "glossary") | |
| $strrss = get_string("rss") | |
| if(!$glossarys=get_all_instances_in_course("glossary", $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") | |
| $strentries = get_string("entries", "glossary") | |
| $table = new html_table() | |
| foreach ($glossarys as $glossary) | |
| $id = required_param('id', PARAM_INT) |
| $strentries = get_string("entries", "glossary") |
| $strglossary = get_string("modulename", "glossary") |
| $strglossarys = get_string("modulenameplural", "glossary") |
| $strname = get_string("name") |
| $strrss = get_string("rss") |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $table = new html_table() |
| if (!$glossarys=get_all_instances_in_course("glossary", $course)) $usesections = course_format_uses_sections($course->format) |