Go to the source code of this file.
Namespaces |
| namespace | moodlecore |
Variables |
| | $courseid = required_param('id', PARAM_INT) |
| | $action = optional_param('action', 0, PARAM_ALPHA) |
| | $eid = optional_param('eid', 0, PARAM_ALPHANUM) |
| | $category = optional_param('category', null, PARAM_INT) |
| | $aggregationtype = optional_param('aggregationtype', null, PARAM_INT) |
| | $showadvanced = optional_param('showadvanced', -1, PARAM_BOOL) |
| | $url = new moodle_url('/grade/edit/tree/index.php', array('id' => $courseid)) |
| | $context = get_context_instance(CONTEXT_COURSE, $course->id) |
| | $gpr = new grade_plugin_return(array('type'=>'edit', 'plugin'=>'tree', 'courseid'=>$courseid)) |
| | return tracking object
|
| | $returnurl = $gpr->get_return_url(null) |
| if(!isset($USER->gradeediting)) | $current_view = '' |
| | Build editing on/off buttons.
|
| | $gtree = new grade_tree($courseid, false, false) |
| | $strgrades = get_string('grades') |
| | $strgraderreport = get_string('graderreport', 'grades') |
| | $strcategoriesedit = get_string('categoriesedit', 'grades') |
| | $strcategoriesanditems = get_string('categoriesanditems', 'grades') |
| | $moving = false |
| | $movingeid = false |
| if($action== 'moveselect') | $grade_edit_tree = new grade_edit_tree($gtree, $movingeid, $gpr) |
switch($action) if($grade_edit_tree->
moving) | $current_view_str = '' |
| if($current_view!= '') | $recreatetree = false |
| | if ($recreatetree) |
| if($moving) | die |
Variable Documentation
| if (!isset($USER->gradeediting)) $current_view = '' |
Build editing on/off buttons.
Definition at line 73 of file index.php.
return tracking object
Definition at line 65 of file index.php.
| if ($current_view!= '') $recreatetree = false |
| $strcategoriesanditems = get_string('categoriesanditems', 'grades') |
| $strcategoriesedit = get_string('categoriesedit', 'grades') |
| $strgraderreport = get_string('graderreport', 'grades') |