◆ __construct()
| __construct |
( |
|
$ruleId = '', |
|
|
|
$courseSetId = '' |
|
) |
| |
Standard constructor
- Parameters
-
Reimplemented from AdmissionRule.
◆ delete()
Deletes the admission rule and all associated data.
Reimplemented from AdmissionRule.
◆ getDescription()
| static getDescription |
( |
| ) |
|
|
static |
◆ 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
Reimplemented from AdmissionRule.
◆ isFCFSallowed()
◆ load()
Helper function for loading rule definition from database.
Reimplemented from AdmissionRule.
◆ 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.
Reimplemented from AdmissionRule.
◆ setDistributionTime()
| setDistributionTime |
( |
|
$newDistributionTime | ) |
|
Sets a new timestamp for seat distribution algorithm execution.
- Parameters
-
- Returns
- TimedAdmission
◆ store()
Store rule definition to database.
Reimplemented from AdmissionRule.
◆ toString()
A textual description of the current rule.
- Returns
- String
Reimplemented from AdmissionRule.
◆ 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.
Reimplemented from AdmissionRule.
◆ $allowed_combinations
◆ $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 |
The documentation for this class was generated from the following file: