Go to the source code of this file.
Namespaces |
| namespace | core |
Variables |
| | $targetid = required_param('targetid', PARAM_INT) |
| | $pick = optional_param('pick', null, PARAM_INT) |
| | $remove = optional_param('remove', null, PARAM_INT) |
| | $confirmed = optional_param('confirmed', false, PARAM_BOOL) |
| | $targetmanager = get_grading_manager($targetid) |
if($targetmanager->get_context()->
contextlevel< CONTEXT_COURSE) | $method = $targetmanager->get_active_method() |
| | $targetcontroller = $targetmanager->get_controller($method) |
| | $targetcontrollerclass = get_class($targetcontroller) |
| | $canshare = has_capability('moodle/grade:sharegradingforms', context_system::instance()) |
| | $canmanage = has_capability('moodle/grade:managesharedforms', context_system::instance()) |
| | $output = $PAGE->get_renderer('core_grading') |
| if($pick) if($remove) | $searchform = new grading_search_template_form($PAGE->url, null, 'GET', '', array('class' => 'templatesearchform')) |
| | $sql = $targetcontrollerclass::sql_search_from_tables('gd.id') |
| | $params = array($method) |
| | $rs = $DB->get_recordset_sql($sql, $params) |
| | $found = 0 |
| | if (!$found) |
Variable Documentation
| if ($targetmanager->get_context()->contextlevel< CONTEXT_COURSE) $method = $targetmanager->get_active_method() |
| $output = $PAGE->get_renderer('core_grading') |
| $sql = $targetcontrollerclass::sql_search_from_tables('gd.id') |
| $targetcontroller = $targetmanager->get_controller($method) |
| $targetcontrollerclass = get_class($targetcontroller) |