SurveyIntegrity
in package
Service class to fix integrity on a single survey
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- fixSurveyIntegrity() : void
- Function to find and fix potential issue inside current survey, mpore fix to be added - fixes missing groups, questions, answers, quotas & assessments for languages on a survey - Remove invalid question in this survey : exist in another la,guage but not in primary
- fixSurveyLanguageSetting() : void
- Add needed language if needed in related SurveyLanguageSetting Remove uneeded language if needed in related SurveyLanguageSetting
Properties
$survey
private
Survey
$survey
Methods
__construct()
public
__construct(Survey $survey) : mixed
Parameters
- $survey : Survey
fixSurveyIntegrity()
Function to find and fix potential issue inside current survey, mpore fix to be added - fixes missing groups, questions, answers, quotas & assessments for languages on a survey - Remove invalid question in this survey : exist in another la,guage but not in primary
public
fixSurveyIntegrity() : void
fixSurveyLanguageSetting()
Add needed language if needed in related SurveyLanguageSetting Remove uneeded language if needed in related SurveyLanguageSetting
public
fixSurveyLanguageSetting() : void