Groups API: Difference between revisions
From MoodleDocs
| Line 16: | Line 16: | ||
|groupid | |groupid | ||
|int(10) | |int(10) | ||
|The id of the group | |||
|- | |- | ||
|userid | |userid | ||
|int(10) | |int(10) | ||
|The user's id | |||
|- | |- | ||
|timeadded | |timeadded | ||
|int(10) | |int(10) | ||
|Time the group member was added | |||
|} | |} | ||
Revision as of 05:51, 9 January 2012
Database Structure
There are four core tables for Groups.
groups_members
| Field | Type | Info |
| id | int(10) | auto increment identifier |
| groupid | int(10) | The id of the group |
| userid | int(10) | The user's id |
| timeadded | int(10) | Time the group member was added |