|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $cohort = $DB->get_record('cohort', array('id'=>$id), '*', MUST_EXIST) | |
| $context = get_context_instance_by_id($cohort->contextid, MUST_EXIST) | |
| $returnurl = new moodle_url('/cohort/index.php', array('contextid'=>$cohort->contextid)) | |
| $potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id)) | |
| $existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id)) | |
| if(optional_param('add', false, PARAM_BOOL)&&confirm_sesskey()) | if (optional_param('remove', false, PARAM_BOOL)&&confirm_sesskey()) |
| $cohort = $DB->get_record('cohort', array('id'=>$id), '*', MUST_EXIST) |
Definition at line 34 of file assign.php.
| $context = get_context_instance_by_id($cohort->contextid, MUST_EXIST) |
Definition at line 35 of file assign.php.
| $existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id)) |
Definition at line 74 of file assign.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 30 of file assign.php.
| $potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id)) |
Definition at line 73 of file assign.php.
| $returnurl = new moodle_url('/cohort/index.php', array('contextid'=>$cohort->contextid)) |
Definition at line 42 of file assign.php.
| if (optional_param('add', false, PARAM_BOOL)&&confirm_sesskey()) if(optional_param('remove', false, PARAM_BOOL)&&confirm_sesskey()) |
Definition at line 95 of file assign.php.