|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $id = required_param('id',PARAM_INT) | |
| $strchoice = get_string("modulename", "choice") | |
| $strchoices = get_string("modulenameplural", "choice") | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| if(!$choices=get_all_instances_in_course("choice", $course)) | $usesections = course_format_uses_sections($course->format) |
| if($usesections) | $sql |
| $answers = array () | |
| if(isloggedin() and!isguestuser() and $allanswers=$DB-> get_records_sql($sql, array($course-> id, $USER->id))) | $timenow = time() |
| $table = new html_table() | |
| foreach ($choices as $choice) | |
| if ($usesections) $sql |
| $strchoice = get_string("modulename", "choice") |
| $strchoices = get_string("modulenameplural", "choice") |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $table = new html_table() |
| if (!$choices=get_all_instances_in_course("choice", $course)) $usesections = course_format_uses_sections($course->format) |