This is the core renderer.
More...
|
| user_enrolments_and_actions ($enrolments) |
| Generates the HTML for the given enrolments + available actions.
|
|
| user_groups_and_actions ($userid, $groups, $allgroups, $canmanagegroups, $pageurl) |
| Generates the HTML to view the users groups and available group actions.
|
|
| user_roles_and_actions ($userid, $roles, $assignableroles, $canassign, $pageurl) |
| Generates HTML to display the users roles and any available actions.
|
|
This is the core renderer.
- Copyright
- 2010 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ render_course_enrolment_other_users_table()
Renders a course enrolment table.
- Parameters
-
- Return values
-
◆ render_enrol_user_button()
◆ render_user_enrolment_action()
Renders a user enrolment action.
- Parameters
-
- Return values
-
◆ user_enrolments_and_actions()
core_enrol_renderer::user_enrolments_and_actions |
( |
| $enrolments | ) |
|
Generates the HTML for the given enrolments + available actions.
- Parameters
-
int | $userid | |
array | $enrolments | |
moodle_url | $pageurl | |
- Return values
-
◆ user_groups_and_actions()
core_enrol_renderer::user_groups_and_actions |
( |
| $userid, |
|
|
| $groups, |
|
|
| $allgroups, |
|
|
| $canmanagegroups, |
|
|
| $pageurl ) |
Generates the HTML to view the users groups and available group actions.
- Parameters
-
int | $userid | |
array | $groups | |
array | $allgroups | |
bool | $canmanagegroups | |
moodle_url | $pageurl | |
- Return values
-
◆ user_roles_and_actions()
core_enrol_renderer::user_roles_and_actions |
( |
| $userid, |
|
|
| $roles, |
|
|
| $assignableroles, |
|
|
| $canassign, |
|
|
| $pageurl ) |
Generates HTML to display the users roles and any available actions.
- Parameters
-
int | $userid | |
array | $roles | |
array | $assignableroles | |
moodle_url | $pageurl | |
- Return values
-
The documentation for this class was generated from the following file: