Moodle  2.2.1
http://www.collinsharper.com
core_enrol_renderer Class Reference
Inheritance diagram for core_enrol_renderer:
Collaboration diagram for core_enrol_renderer:

Public Member Functions

 user_roles_and_actions ($userid, $roles, $assignableroles, $canassign, $pageurl)
 user_groups_and_actions ($userid, $groups, $allgroups, $canmanagegroups, $pageurl)
 user_enrolments_and_actions ($enrolments)

Protected Member Functions

 render_course_enrolment_users_table (course_enrolment_users_table $table)
 render_enrol_user_button (enrol_user_button $button)
 render_course_enrolment_other_users_table (course_enrolment_other_users_table $table)
 render_user_enrolment_action (user_enrolment_action $icon)

Detailed Description

This is the core renderer

Definition at line 33 of file renderer.php.


Member Function Documentation

Renders a course enrolment table

Parameters:
course_enrolment_table$table
Returns:
string

Definition at line 156 of file renderer.php.

Here is the call graph for this function:

Renders a course enrolment table

Parameters:
course_enrolment_table$table
Returns:
string

Definition at line 41 of file renderer.php.

Here is the call graph for this function:

render_enrol_user_button ( enrol_user_button button) [protected]

Renderers the enrol_user_button.

Parameters:
enrol_user_button$button
Returns:
string XHTML

Definition at line 102 of file renderer.php.

Here is the call graph for this function:

Renders a user enrolment action

Parameters:
user_enrolment_action$icon
Returns:
string

Definition at line 285 of file renderer.php.

Here is the call graph for this function:

user_enrolments_and_actions ( enrolments)

Generates the HTML for the given enrolments + available actions

Parameters:
int$userid
array$enrolments
moodle_url$pageurl
Returns:
string

Definition at line 263 of file renderer.php.

Here is the call graph for this function:

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
Returns:
string

Definition at line 231 of file renderer.php.

Here is the call graph for this function:

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
Returns:
string

Definition at line 185 of file renderer.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations