|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | feedback |
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $url = new moodle_url('/mod/feedback/index.php', array('id'=>$id)) | |
| $strfeedbacks = get_string("modulenameplural", "feedback") | |
| Print the page header. | |
| $strfeedback = get_string("modulename", "feedback") | |
| if(!$feedbacks=get_all_instances_in_course("feedback", $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") | |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) | |
| $strresponses = get_string('responses', 'feedback') | |
| $table = new html_table() | |
| $strfeedback = get_string("modulename", "feedback") |
| $strfeedbacks = get_string("modulenameplural", "feedback") |
| $strname = get_string("name") |
| $strresponses = get_string('responses', 'feedback') |
| $strsectionname = get_string('sectionname', 'format_'.$course->format) |
| $table = new html_table() |
| $url = new moodle_url('/mod/feedback/index.php', array('id'=>$id)) |
| if (!$feedbacks=get_all_instances_in_course("feedback", $course)) $usesections = course_format_uses_sections($course->format) |