|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | mod |
Local Library of functions for module scorm. | |
Variables | |
| if(!$formdata=data_submitted() or!confirm_sesskey()) | $id = required_param('id', PARAM_INT) |
| $context = get_context_instance(CONTEXT_MODULE, $cm->id) | |
| $strsurveysaved = get_string('surveysaved', 'survey') | |
| if(survey_already_done($survey-> id, $USER->id)) | $answers = array() |
| foreach($formdata as $key=> $val) | $timenow = time() |
| exit | |
| if (survey_already_done($survey->id, $USER->id)) $answers = array() |
| if (!$formdata=data_submitted() or!confirm_sesskey()) $id = required_param('id', PARAM_INT) |
| $strsurveysaved = get_string('surveysaved', 'survey') |