Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Group index page class. More...
Public Member Functions | |
__construct ($courseid, $groups, $selectedgroupname, $selectedgroupmembers, $disableaddedit, $disabledelete, $undeletablegroups) | |
index_page constructor. More... | |
export_for_template (renderer_base $output) | |
Export the data. More... | |
Group index page class.
core_group\output\index_page::__construct | ( | $courseid, | |
$groups, | |||
$selectedgroupname, | |||
$selectedgroupmembers, | |||
$disableaddedit, | |||
$disabledelete, | |||
$undeletablegroups | |||
) |
index_page constructor.
int | $courseid | The course ID. |
array | $groups | The array of groups to be rendered. |
string | $selectedgroupname | The name of the currently selected group. |
array | $selectedgroupmembers | The array of group members to be rendered, if a group is selected. |
bool | $disableaddedit | Whether to disable the add members/edit group buttons. |
bool | $disabledelete | Whether to disable the delete group button. |
array | $undeletablegroups | Groups that can't be deleted by the user. |
core_group\output\index_page::export_for_template | ( | renderer_base | $output | ) |