|
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) | |
| $action = optional_param('action', '', PARAM_ACTION) | |
| $filter = optional_param('ifilter', 0, PARAM_INT) | |
| $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST) | |
| $context = get_context_instance(CONTEXT_COURSE, $course->id, MUST_EXIST) | |
| $manager = new course_enrolment_manager($PAGE, $course, $filter) | |
| $table = new course_enrolment_other_users_table($manager, $PAGE) | |
| $fields | |
| $renderer = $PAGE->get_renderer('core_enrol') | |
| $canassign = has_capability('moodle/role:assign', $manager->get_context()) | |
| $users = $manager->get_other_users_for_display($renderer, $PAGE->url, $table->sort, $table->sortdirection, $table->page, $table->perpage) | |
| $assignableroles = $manager->get_assignable_roles(true) | |
| $action = optional_param('action', '', PARAM_ACTION) |
Definition at line 32 of file otherusers.php.
| $assignableroles = $manager->get_assignable_roles(true) |
Definition at line 85 of file otherusers.php.
| $canassign = has_capability('moodle/role:assign', $manager->get_context()) |
Definition at line 83 of file otherusers.php.
Definition at line 36 of file otherusers.php.
| $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST) |
Definition at line 35 of file otherusers.php.
| $fields |
array( 'userdetails' => array ( 'picture' => false, 'firstname' => get_string('firstname'), 'lastname' => get_string('lastname'), 'email' => get_string('email') ), 'lastseen' => get_string('lastaccess'), 'role' => get_string('roles', 'role') )
Definition at line 68 of file otherusers.php.
| $filter = optional_param('ifilter', 0, PARAM_INT) |
Definition at line 33 of file otherusers.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 31 of file otherusers.php.
| $manager = new course_enrolment_manager($PAGE, $course, $filter) |
Definition at line 47 of file otherusers.php.
| $renderer = $PAGE->get_renderer('core_enrol') |
Definition at line 82 of file otherusers.php.
| $table = new course_enrolment_other_users_table($manager, $PAGE) |
Definition at line 48 of file otherusers.php.