AntonyThorpe\Knockout\KnockoutSwitchField
Creates a {@link ConfirmedPasswordField} with an additional data-bind attribute that links to a Knockout observable
Synopsis
class KnockoutSwitchField
extends KnockoutCheckboxField
{
- // Inherited members from KnockoutCheckboxField
- protected string $bindingType;
- protected array $casting;
- // methods
- public void __construct()
- // Inherited methods from KnockoutCheckboxField
- public void __construct()
- // Inherited methods from Common
- public $this setObservable()
- public string getObservable()
- public $this setBindingType()
- public string getBindingType()
- public string getOtherBindings()
- public $this setOtherBindings()
- public $this setHasFocus()
- public boolean getHasFocus()
Hierarchy
Members
protected
- $bindingType
—
string
bindingType -
$casting
casting of variables for security purposes - $hasFocus
—
boolean
$hasFocus - $observable
—
string
$observable - $otherBindings
—
string
$otherBindings
Methods
Inherited from AntonyThorpe\Knockout\Common
public
- getBindingType() — getBindingType
- getHasFocus() — getHasFocus
- getObservable() — getObservable
- getOtherBindings() — getOtherBindings
- setBindingType() — setbindingType
- setHasFocus() — setHasFocus
- setObservable() — setObservable
- setOtherBindings() — setOtherBindings