AntonyThorpe\Knockout\KnockoutCheckboxField
KnockoutCheckboxField
Creates a with an additional data-bind attribute that
links to a Knockout observable
Synopsis
class KnockoutCheckboxField
extends CheckboxField
{
- // members
- protected string $bindingType = 'checked';
- protected array $casting = ;
- // methods
- 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