Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Group index page class. More...
Public Member Functions | |
__construct ($courseid, $groups, $selectedgroupname, $selectedgroupmembers, $disableaddedit, $disabledelete, $undeletablegroups) | |
index_page constructor. | |
export_for_template (renderer_base $output) | |
Export the data. | |
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 | ) |