Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
=== 4.5 Onwards ===
2
 
3
This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
4
 
5
===
1 efrain 6
This files describes API changes in /group/*,
7
information provided here is intended especially for developers.
8
 
9
=== 4.3 ===
10
* The following external methods now return group names correctly formatted:
11
  - `core_group_get_groups`
12
  - `core_group_get_course_groups`
13
  - `core_group_get_course_user_groups`
14
  - `core_group_get_activity_allowed_groups`
15
* Groups now have access to create GeoPattern default images based upon their ID with their associated course context.
16
  This can be done by calling the following:
17
       moodle_url::make_pluginfile_url(
18
           $coursecontext->id,
19
           'group',
20
           'generated',
21
           $group->id,
22
           '/',
23
           'group.svg'
24
       );
25
* Added group/grouping custom fields.
26
* groups_get_members_join() now includes visibility checks for group memberships.
27
* \core_group\visibility::sql_member_visibility_where() no longer prefixes the returned WHERE statement with AND, to
28
  give the calling code greater flexibility about how to use it.
29
 
30
=== 4.2 ===
31
* `\core_group\visibility` class added to support new `visibility` field in group records. This holds the visibility constants
32
  and helper functions for applying visibility restrictions when querying groups or group members in the database.
33
* Changes to the group form to support visibility features:
34
  - New `visibility` field.
35
  - New `participation` field.
36
  - `participation` and `enablemessaging` fields are disabled (default: false) when `visibility` is set
37
    to `visibility::OWN` or `visibility::NONE`.
38
* The following externallib functions now accept `visibility` and `participation` as optional parameters:
39
  - create_groups()
40
  - update_groups()
41
* The following externallib functions now also return `visibility` and `participation` fields in their responses:
42
  - create_groups()
43
  - get_groups()
44
  - get_course_groups()
45
 
46
=== 3.11 ===
47
 
48
* The groups do not support 'hidepicture' any more, and so the column 'hidepicture'
49
  from the table {groups} has be dropped.