Group index page class.
More...
Group index page class.
- Copyright
- 2017 Jun Pataleta
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_group\output\index_page::__construct |
( |
|
$courseid, |
|
|
|
$groups, |
|
|
|
$selectedgroupname, |
|
|
|
$selectedgroupmembers, |
|
|
|
$disableaddedit, |
|
|
|
$disabledelete, |
|
|
|
$undeletablegroups |
|
) |
| |
index_page constructor.
- Parameters
-
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. |
◆ export_for_template()
core_group\output\index_page::export_for_template |
( |
renderer_base |
$output | ) |
|
Export the data.
- Parameters
-
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file: