Detailed Description
Simple class representing a user domain in Stud.IP.
Constructor & Destructor Documentation
__construct |
( |
|
$id, |
|
|
|
$name = NULL |
|
) |
| |
Member Function Documentation
Get a string representation of this user domain.
addSeminar |
( |
|
$seminar_id | ) |
|
Add a seminar to this user domain.
Add a user to this user domain.
Delete this user domain from the database.
Get the ID of this user domain.
Get the display name of this user domain.
Get an array of all seminars in this user domain. Returns an array of seminar IDs.
static getUserDomains |
( |
| ) |
|
|
static |
Get an array of all defined user domains. Returns an array of UserDomain objects.
static getUserDomainsForSeminar |
( |
|
$seminar_id | ) |
|
|
static |
Get an array of all user domains for a specific seminar. Returns an array of UserDomain objects.
static getUserDomainsForUser |
( |
|
$user_id | ) |
|
|
static |
Get an array of all user domains for a specific user. Returns an array of UserDomain objects.
Get an array of all users in this user domain. Returns an array of user IDs.
removeSeminar |
( |
|
$seminar_id | ) |
|
Remove a seminar from this user domain.
Remove a user from this user domain.
static removeUserDomainsForSeminar |
( |
|
$seminar_id | ) |
|
|
static |
Remove all user domains for a specific seminar.
static removeUserDomainsForUser |
( |
|
$user_id | ) |
|
|
static |
Remove all user domains for a specific user.
Set the display name of this user domain.
Store changes to the user domain to the database. This currently only saves the display name.
The documentation for this class was generated from the following file: