◆ __construct()
| __construct |
( |
|
$typeparam, |
|
|
|
$fieldId = '' |
|
) |
| |
◆ getName()
Get this field's display name.
- Returns
- String
Reimplemented from UserFilterField.
◆ getParameterizedTypes()
| static getParameterizedTypes |
( |
| ) |
|
|
static |
◆ getUsers()
| getUsers |
( |
|
$restrictions = [] | ) |
|
Compares all the users' values by using the specified compare operator and returns all users that fulfill the condition. This can be an important information when checking on validity of a combination of conditions.
- Parameters
-
| Array | $restrictions | values from other fields that restrict the valid values for a user (e.g. a semester of study in a given subject) |
- Returns
- Array All users that are affected by the current condition field.
Reimplemented from UserFilterField.
◆ getUserValues()
| getUserValues |
( |
|
$userId, |
|
|
|
$additional = null |
|
) |
| |
Gets the value for the given user that is relevant for this
- Parameters
-
| String | $userId | User to check. |
| Array | additional conditions that are required for check. |
- Returns
- The value(s) for this user.
Reimplemented from UserFilterField.
◆ load()
Helper function for loading data from DB.
Reimplemented from UserFilterField.
◆ setValue()
◆ store()
◆ $datafield_id
◆ $datafield_name
◆ $isParameterized
◆ $null_yields
The documentation for this class was generated from the following file: