mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 23:55:54 +01:00
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
This files describes API changes in /group/*,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 4.3 ===
|
|
* The following external methods now return group names correctly formatted:
|
|
- `core_group_get_groups`
|
|
- `core_group_get_course_groups`
|
|
- `core_group_get_course_user_groups`
|
|
- `core_group_get_activity_allowed_groups`
|
|
|
|
=== 4.2 ===
|
|
* `\core_group\visibility` class added to support new `visibility` field in group records. This holds the visibility constants
|
|
and helper functions for applying visibility restrictions when querying groups or group members in the database.
|
|
* Changes to the group form to support visibility features:
|
|
- New `visibility` field.
|
|
- New `participation` field.
|
|
- `participation` and `enablemessaging` fields are disabled (default: false) when `visibility` is set
|
|
to `visibility::OWN` or `visibility::NONE`.
|
|
* The following externallib functions now accept `visibility` and `participation` as optional parameters:
|
|
- create_groups()
|
|
- update_groups()
|
|
* The following externallib functions now also return `visibility` and `participation` fields in their responses:
|
|
- create_groups()
|
|
- get_groups()
|
|
- get_course_groups()
|
|
|
|
=== 3.11 ===
|
|
|
|
* The groups do not support 'hidepicture' any more, and so the column 'hidepicture'
|
|
from the table {groups} has be dropped.
|