Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
AdvancedBasicDataWizardStep Class Reference
Inheritance diagram for AdvancedBasicDataWizardStep:
BasicDataWizardStep CourseWizardStep

Public Member Functions

 getStepTemplate ($values, $stepnumber, $temp_id)
 
 validate ($values)
 
 storeValues ($course, $values)
 
 copy ($course, $values)
 
- Public Member Functions inherited from BasicDataWizardStep
 getStepTemplate ($values, $stepnumber, $temp_id)
 
 alterValues ($values)
 
 validate ($values)
 
 storeValues ($course, $values)
 
 isRequired ($values)
 
 copy ($course, $values)
 
 getDefaultDeputies ($user_id)
 
 getSearch ($course_type, $institute_ids, $exclude_lecturers=[], $exclude_tutors=[])
 

Additional Inherited Members

- Static Public Member Functions inherited from BasicDataWizardStep
static tsearchHelper ($psearch, $context)
 
static lsearchHelper ($psearch, $context)
 
- Protected Member Functions inherited from BasicDataWizardStep
 setupTemplateAttributes ($tpl, $values, $stepnumber, $temp_id)
 
 makeI18N ($values, $indices)
 

Member Function Documentation

copy (   $course,
  $values 
)

Copy values for basic data wizard step from given course.

Parameters
Course$course
Array$values

Implements CourseWizardStep.

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.

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.

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: