Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/edit/tree/action.php File Reference

Go to the source code of this file.

Variables

 $courseid = required_param('id', PARAM_INT)
 $action = required_param('action', PARAM_ALPHA)
 $eid = required_param('eid', PARAM_ALPHANUM)
 $context = get_context_instance(CONTEXT_COURSE, $course->id)
 $gpr = new grade_plugin_return()
 $returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/edit/tree/index.php?id='.$course->id)
 $gtree = new grade_tree($courseid, false, false)
if(!$element=$gtree->
locate_element($eid)) 
$object = $element['object']
 $type = $element['type']

Variable Documentation

Definition at line 22 of file action.php.

Definition at line 32 of file action.php.

Definition at line 21 of file action.php.

Definition at line 23 of file action.php.

$gpr = new grade_plugin_return()

Definition at line 35 of file action.php.

$gtree = new grade_tree($courseid, false, false)

Definition at line 39 of file action.php.

if (!$element=$gtree->locate_element($eid)) $object = $element['object']

Definition at line 45 of file action.php.

$returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/edit/tree/index.php?id='.$course->id)

Definition at line 36 of file action.php.

$type = $element['type']

Definition at line 46 of file action.php.

 All Data Structures Namespaces Files Functions Variables Enumerations