class SwitchWidget extends Model (View source)

Properties

string $controlType
string $name
protected $onChangeType
protected $onChangeDataType
bool $selected
string $value

Methods

setControlType($controlType)

No description

string
getControlType()

No description

setName($name)

No description

string
getName()

No description

setOnChange(FormAction $onChange)

No description

getOnChange()

No description

setSelected($selected)

No description

bool
getSelected()

No description

setValue($value)

No description

string
getValue()

No description

Details

setControlType($controlType)

No description

Parameters

$controlType

string getControlType()

No description

Return Value

string

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setOnChange(FormAction $onChange)

No description

Parameters

FormAction $onChange

FormAction getOnChange()

No description

Return Value

FormAction

setSelected($selected)

No description

Parameters

$selected

bool getSelected()

No description

Return Value

bool

setValue($value)

No description

Parameters

$value

string getValue()

No description

Return Value

string