OtherGeneralOption
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
- 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(Question $question) : mixed
Parameters
- $question : Question
setDisableInActive()
public
setDisableInActive(Survey $survey) : void
Parameters
- $survey : Survey