Public Member Functions | |
__construct ($name, $value="", $checked=false) | |
Creates a new checkbox. |
boolean
: initial state of checkbox (checked or not)
TKCheckBox::__construct | ( | $ | name, | |
$ | value = "" , |
|||
$ | checked = false | |||
) |
Creates a new checkbox.
$name | [string]: name of checkbox variable | |
$value | [string]: HTML value attribute of checkbox (not required) | |
$checked | [boolean]: whether checkbox should be initially checked or not |
Reimplemented from TKFormInput.