GeneralOption

Wrapper class for question general option.

package

Default

Methods

__construct

__construct( $name, $title, $inputType, $formElement)

Arguments

$name

$title

$inputType

$formElement

setDisableInActive

setDisableInActive(\Survey $survey): void

Arguments

$survey

\Survey

Properties

name

name :string
var

Type(s)

string

title

title :string
var

Type(s)

string

inputType

inputType :string
var

Type(s)

string

formElement

formElement :\LimeSurvey\Datavalueobjects\FormElement

If the Option should be disabled when the survey is active

disableInActive :boolean
var

If the Option should be disabled when the survey is active

Type(s)

boolean

If the Option should be disabled

disabled :boolean
var

If the Option should be disabled

Type(s)

boolean