Standard constructor.
- Parameters
-
String | id If this is an existing list, here is its ID. |
- Returns
- This object.
Standard string representation of this object.
- Returns
- String
addCondition |
( |
|
$condition | ) |
|
Gets the currently set conditions for automatic user selection.
- Returns
- Integer
Gets the currently set manipulation factor for this list.
- Returns
- Float
Gets the list ID.
- Returns
- String
Gets the list name.
- Returns
- String
Gets the owner ID.
- Returns
- String
static getUserLists |
( |
|
$userId | ) |
|
|
static |
Gets all user lists the given user has created.
- Parameters
-
- Returns
- array
Gets all assigned user IDs.
- Returns
- String
Helper function for loading data from DB.
removeCondition |
( |
|
$conditionId | ) |
|
setConditions |
( |
|
$conditions | ) |
|
Sets a factor.
- Parameters
-
float | $newFactor | The new factor to be set. |
- Returns
- AdmissionUserList
setOwnerId |
( |
|
$newOwnerId | ) |
|
Sets a set of new list members, replacing previous entries.
- Parameters
-
Array | $newUsers | New member list. |
- Returns
- AdmissionUserList
Function for storing the data to DB. Is not called automatically on changing object values.
String representation of this object.
Conditions for automatic user selection.
A factor for seat distribution algorithm ("1" means normal algorithm, everything between 0 and 1 decreases the chance to get a seat, everything above 1 increases it.)
Unique identifier of this list.
Some name to display for this list.
ID of the user who created this list.
All user IDs that are on this list.
The documentation for this class was generated from the following file: