Constructor & Destructor Documentation
| __construct |
( |
|
$ruleId = '', |
|
|
|
$courseSetId = '' |
|
) |
| |
Standard constructor
- Parameters
-
Reimplemented from AdmissionRule.
Member Function Documentation
Deletes the admission rule and all associated data.
Reimplemented from AdmissionRule.
| static getDescription |
( |
| ) |
|
|
static |
Gets the time for seat distribution algorithm.
- Returns
- int
Gets the template that provides a configuration GUI for this rule.
- Returns
- String
Reimplemented from AdmissionRule.
Helper function for loading rule definition from database.
Reimplemented from AdmissionRule.
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 |
( |
|
$newDistributionTime | ) |
|
Sets a new timestamp for seat distribution algorithm execution.
- Parameters
-
- Returns
- TimedAdmission
Store rule definition to database.
Reimplemented from AdmissionRule.
A textual description of the current rule.
- Returns
- String
Reimplemented from AdmissionRule.
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.
Field Documentation
Timestamp for execution of seat distribution algorithm
| $first_come_first_served_allowed = false |
| $minimum_timespan_to_distribution_time = 120 |
The documentation for this class was generated from the following file: