◆ __construct()
__construct |
( |
|
$ruleId = '' , |
|
|
|
$courseSetId = '' |
|
) |
| |
Standard constructor
- Parameters
-
String | $ruleId | |
String | $courseSetId | |
◆ delete()
Deletes the admission rule and all associated data.
◆ getDescription()
static getDescription |
( |
| ) |
|
|
static |
Gets some text that describes what this AdmissionRule (or respective subclass) does.
◆ getDistributionTime()
Gets the time for seat distribution algorithm.
- Returns
- int
◆ getName()
◆ getTemplate()
Gets the template that provides a configuration GUI for this rule.
- Returns
- String
◆ isFCFSallowed()
◆ load()
Helper function for loading rule definition from database.
◆ setAllData()
Uses the given data to fill the object values. This can be used as a generic function for storing data if the concrete rule type isn't known in advance.
- Parameters
-
- Returns
- AdmissionRule This object.
◆ setDistributionTime()
setDistributionTime |
( |
|
$newDistributionTime | ) |
|
◆ store()
Store rule definition to database.
◆ toString()
A textual description of the current rule.
- Returns
- String
◆ validate()
Validates if the given request data is sufficient to configure this rule (e.g. if required values are present).
- Parameters
-
- Returns
- Array Error messages.
◆ $distributionTime
Timestamp for execution of seat distribution algorithm
◆ $first_come_first_served_allowed
$first_come_first_served_allowed = false |
◆ $minimum_timespan_to_distribution_time
$minimum_timespan_to_distribution_time = 120 |
◆ $prio_exists
The documentation for this class was generated from the following file: