◆ __construct()
__construct |
( |
|
$conditionId = '' | ) |
|
Standard constructor.
- Parameters
-
- Returns
- UserFilter
◆ __clone()
◆ __toString()
◆ addField()
Add a new condition field.
- Parameters
-
- Returns
- UserFilter
◆ delete()
Deletes the condition and all associated fields.
◆ generateId()
Generate a new unique ID.
- Parameters
-
◆ getFields()
Get all fields (without checking for validity according to the current time).
- Returns
- Array
◆ getId()
◆ getUsers()
Gets all users that fulfill the current condition.
- Returns
- Array
◆ hasField()
Checks whether the current filter object contains a field of the given type.
- Parameters
-
String | $className | the type to check for |
- Returns
- UserFilterField Return the found field or null if not applicable.
◆ isFulfilled()
Is the current condition fulfilled (that means, are all required field values matched)?
- Returns
- boolean
◆ load()
Helper function for loading data from DB.
◆ removeField()
Removes the field with the given ID from the condition fields.
- Parameters
-
- Returns
- UserFilter
◆ store()
◆ toString()
◆ $fields
All condition fields that form this condition.
◆ $id
Unique identifier for this condition.
◆ $show_user_count
The documentation for this class was generated from the following file: