Contains class core_group\output\user_groups_editable
Copyright: | 2017 Damyon Wiese |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 179 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
user_groups_editable:: (3 methods):
__construct()
export_for_template()
update()
Class: user_groups_editable - X-Ref
Class to display list of user groups.__construct($course, $context, $user, $coursegroups, $value) X-Ref |
Constructor. param: \stdClass $course The current course param: \context $context The course context param: \stdClass $user The current user param: \stdClass[] $coursegroups The list of course groups from groups_get_all_groups with membership. param: array $value Array of groupids. |
export_for_template(\renderer_base $output) X-Ref |
Export this data so it can be used as the context for a mustache template. param: \renderer_base $output return: array |
update($itemid, $newvalue) X-Ref |
Updates the value in database and returns itself, called from inplace_editable callback param: int $itemid param: mixed $newvalue return: \self |