Stud.IP  jlu_4.3 Revision 64286
eVVDataWizardStep Class Reference
Inheritance diagram for eVVDataWizardStep:
Inheritance graph
Collaboration diagram for eVVDataWizardStep:
Collaboration graph

Public Member Functions

 getStepTemplate ($values, $stepnumber, $temp_id)
 
 validate ($values)
 
 alterValues ($values)
 
 storeValues ($course, $values)
 
 isRequired ($values)
 
 copy ($course, $values)
 
 isCurrentSemester ($seminar_id)
 
 getConfigValue ($field)
 
 getStarttime ($field)
 
 isRequired ($values)
 
 alterValues ($values)
 
 getStepTemplate ($values, $stepnumber, $temp_id)
 
 validate ($values)
 
 storeValues ($course, $values)
 
 copy ($course, $values)
 

Member Function Documentation

◆ alterValues()

alterValues (   $values)

The function only needs to handle person adding and removing as other actions are handled by normal request processing.

Parameters
Array$valuescurrently set values for the wizard.
Returns
bool

Implements CourseWizardStep.

◆ copy()

copy (   $course,
  $values 
)

Copy values for evv data wizard step from given course.

Parameters
Course$course
Array$values

Implements CourseWizardStep.

Here is the call graph for this function:

◆ getConfigValue()

getConfigValue (   $field)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStarttime()

getStarttime (   $field)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStepTemplate()

getStepTemplate (   $values,
  $stepnumber,
  $temp_id 
)

Returns the Flexi template for entering the necessary values for this step.

Parameters
Array$valuesPre-set values
int$stepnumberwhich number has the current step in the wizard?
String$temp_idtemporary ID for wizard workflow
Returns
String a Flexi template for getting needed data.

Implements CourseWizardStep.

◆ isCurrentSemester()

isCurrentSemester (   $seminar_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRequired()

isRequired (   $values)

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$valuesvalues specified from previous steps
Returns
bool Is the current step required for a new course?

Implements CourseWizardStep.

Here is the call graph for this function:

◆ storeValues()

storeValues (   $course,
  $values 
)

Stores the given values to the given course.

Parameters
Course$coursethe course to store values for
Array$valuesvalues to set
Returns
Course The course object with updated values.

Implements CourseWizardStep.

Here is the call graph for this function:

◆ validate()

validate (   $values)

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$valuesArray of stored values
Returns
bool Everything ok?

Implements CourseWizardStep.


The documentation for this class was generated from the following file: