QuestionThemeGeneralOption
extends GeneralOption
in package
Wrapper class for question general option.
Table of Contents
Properties
- $disabled : bool
- $disableInActive : bool
- $formElement : FormElement
- $inputType : string
- $name : string
- $title : string
Methods
- __construct() : mixed
- make() : self
- Factory method to get setting data.
- setDisableInActive() : void
Properties
$disabled
public
bool
$disabled
= false
If the Option should be disabled
$disableInActive
public
bool
$disableInActive
= false
If the Option should be disabled when the survey is active
$formElement
public
FormElement
$formElement
$inputType
public
string
$inputType
$name
public
string
$name
$title
public
string
$title
Methods
__construct()
public
__construct(string $currentSetQuestionTheme, array<string|int, mixed> $options) : mixed
Parameters
- $currentSetQuestionTheme : string
- $options : array<string|int, mixed>
make()
Factory method to get setting data.
public
static make(Question $question, string $questionType, string $currentSetQuestionTheme) : self
Parameters
- $question : Question
- $questionType : string
- $currentSetQuestionTheme : string
Return values
selfsetDisableInActive()
public
setDisableInActive(Survey $survey) : void
Parameters
- $survey : Survey