|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $strsurveys = get_string("modulenameplural", "survey") | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| $strname = get_string("name") | |
| $strstatus = get_string("status") | |
| $strdone = get_string("done", "survey") | |
| $strnotdone = get_string("notdone", "survey") | |
| if(!$surveys=get_all_instances_in_course("survey", $course)) | $usesections = course_format_uses_sections($course->format) |
| if($usesections) | $table = new html_table() |
| $table | width = '100%' |
| foreach ($surveys as $survey) | |
| $strdone = get_string("done", "survey") |
| $strname = get_string("name") |
| $strnotdone = get_string("notdone", "survey") |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $strstatus = get_string("status") |
| $strsurveys = get_string("modulenameplural", "survey") |
| if ($usesections) $table = new html_table() |
| if (!$surveys=get_all_instances_in_course("survey", $course)) $usesections = course_format_uses_sections($course->format) |