◆ alterValues()
The function only needs to handle person adding and removing as other actions are handled by normal request processing.
- Parameters
-
| Array | $values | currently set values for the wizard. |
- Returns
- bool
Implements CourseWizardStep.
◆ copy()
| copy |
( |
|
$course, |
|
|
|
$values |
|
) |
| |
Copy values for evv data wizard step from given course.
- Parameters
-
Implements CourseWizardStep.
◆ getConfigValue()
◆ getStarttime()
◆ getStepTemplate()
| getStepTemplate |
( |
|
$values, |
|
|
|
$stepnumber, |
|
|
|
$temp_id |
|
) |
| |
Returns the Flexi template for entering the necessary values for this step.
- Parameters
-
| Array | $values | Pre-set values |
| int | $stepnumber | which number has the current step in the wizard? |
| String | $temp_id | temporary ID for wizard workflow |
- Returns
- String a Flexi template for getting needed data.
Implements CourseWizardStep.
◆ isCurrentSemester()
| isCurrentSemester |
( |
|
$seminar_id | ) |
|
◆ isRequired()
Checks if the current step needs to be executed according to already given values. A good example are study areas which are only needed for certain sem_classes.
- Parameters
-
| Array | $values | values specified from previous steps |
- Returns
- bool Is the current step required for a new course?
Implements CourseWizardStep.
◆ storeValues()
| storeValues |
( |
|
$course, |
|
|
|
$values |
|
) |
| |
Stores the given values to the given course.
- Parameters
-
| Course | $course | the course to store values for |
| Array | $values | values to set |
- Returns
- Course The course object with updated values.
Implements CourseWizardStep.
◆ validate()
Validates if given values are sufficient for completing the current course wizard step and switch to another one. If not, all errors are collected and shown via PageLayout::postMessage.
- Parameters
-
| mixed | $values | Array of stored values |
- Returns
- bool Everything ok?
Implements CourseWizardStep.
The documentation for this class was generated from the following file: