Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/import/key.php File Reference

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')

Variable Documentation

Definition at line 33 of file key.php.

Definition at line 62 of file key.php.

get url variables

Definition at line 30 of file key.php.

Definition at line 32 of file key.php.

if ($id and $delete) $editform = new key_form()

First create the form.

Definition at line 92 of file key.php.

Definition at line 31 of file key.php.

if (!empty($key->userid) and $USER->id!=$key->userid) $returnurl = $CFG->wwwroot.'/grade/import/keymanager.php?id='.$course->id

Definition at line 70 of file key.php.

$strgrades = get_string('grades')

Definition at line 114 of file key.php.

if ($editform->is_cancelled()) elseif ($data=$editform->get_data()) $strkeys = get_string('userkeys', 'userkey')

Definition at line 113 of file key.php.

 All Data Structures Namespaces Files Functions Variables Enumerations