Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Group index page class. More...
Public Member Functions | |
__construct ($courseid, $groups, $selectedgroupname, $selectedgroupmembers, $disableaddedit, $disabledelete, $undeletablegroups, $messagingsettingsvisible) | |
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, | |||
$messagingsettingsvisible ) |
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. |
bool | $messagingsettingsvisible | If the messaging settings buttons should be visible. |
core_group\output\index_page::export_for_template | ( | renderer_base | $output | ) |