|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| Get all required strings. | |
| $strchats = get_string('modulenameplural', 'chat') | |
| $strchat = get_string('modulename', 'chat') | |
| if(!$chats=get_all_instances_in_course('chat', $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) | |
| $strname = get_string('name') | |
| $table = new html_table() | |
| foreach ($chats as $chat) | |
| $strchat = get_string('modulename', 'chat') |
| $strchats = get_string('modulenameplural', 'chat') |
| $strname = get_string('name') |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $table = new html_table() |
| if (!$chats=get_all_instances_in_course('chat', $course)) $usesections = course_format_uses_sections($course->format) |