|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | moodlecore |
Variables | |
| $courseid = optional_param('courseid', 0, PARAM_INT) | |
| get url variables | |
| $id = optional_param('id', 0, PARAM_INT) | |
| $delete = optional_param('delete', 0, PARAM_BOOL) | |
| $confirm = optional_param('confirm', 0, PARAM_BOOL) | |
| $context = get_context_instance(CONTEXT_COURSE, $course->id) | |
| if(!empty($key->userid) and $USER->id!=$key->userid) | $returnurl = $CFG->wwwroot.'/grade/import/keymanager.php?id='.$course->id |
| if($id and $delete) | $editform = new key_form() |
| First create the form. | |
| if($editform->is_cancelled()) elseif($data=$editform-> get_data()) | $strkeys = get_string('userkeys', 'userkey') |
| $strgrades = get_string('grades') | |
| $confirm = optional_param('confirm', 0, PARAM_BOOL) |
| $courseid = optional_param('courseid', 0, PARAM_INT) |
| $delete = optional_param('delete', 0, PARAM_BOOL) |
| $strgrades = get_string('grades') |