|
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) | |
| $templateid = optional_param('templateid', false, PARAM_INT) | |
| $deleteolditems = optional_param('deleteolditems', 0, PARAM_INT) | |
| if(!$templateid) | $url = new moodle_url('/mod/feedback/use_templ.php', array('id'=>$id, 'templateid'=>$templateid)) |
| $mform = new mod_feedback_use_templ_form() | |
| $newformdata | |
| $formdata = $mform->get_data() | |
| if($mform->is_cancelled()) if(isset($formdata-> confirmadd) AND $formdata-> confirmadd==1) | $strfeedbacks = get_string("modulenameplural", "feedback") |
| Print the page header. | |
| $strfeedback = get_string("modulename", "feedback") | |
| $templateitems = $DB->get_records('feedback_item', array('template'=>$templateid), 'position') | |
| $deleteolditems = optional_param('deleteolditems', 0, PARAM_INT) |
Definition at line 31 of file use_templ.php.
| $formdata = $mform->get_data() |
Definition at line 70 of file use_templ.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 29 of file use_templ.php.
| $mform = new mod_feedback_use_templ_form() |
Definition at line 63 of file use_templ.php.
| $newformdata |
array('id'=>$id, 'templateid'=>$templateid, 'confirmadd'=>'1', 'deleteolditems'=>'1', 'do_show'=>'edit')
Definition at line 64 of file use_templ.php.
| $strfeedback = get_string("modulename", "feedback") |
Definition at line 83 of file use_templ.php.
| if ($mform->is_cancelled()) if (isset($formdata->confirmadd) AND $formdata->confirmadd==1) $strfeedbacks = get_string("modulenameplural", "feedback") |
Print the page header.
Definition at line 82 of file use_templ.php.
| $templateid = optional_param('templateid', false, PARAM_INT) |
Definition at line 30 of file use_templ.php.
| $templateitems = $DB->get_records('feedback_item', array('template'=>$templateid), 'position') |
Definition at line 104 of file use_templ.php.
| if (!$templateid) $url = new moodle_url('/mod/feedback/use_templ.php', array('id'=>$id, 'templateid'=>$templateid)) |
Definition at line 37 of file use_templ.php.