Public Member Functions | |
__construct ($groupName, $value, $checked=false) | |
Creates a new radio butotn. |
boolean
: initial state of radio button (checked or not)
TKRadioButton::__construct | ( | $ | groupName, | |
$ | value, | |||
$ | checked = false | |||
) |
Creates a new radio butotn.
$groupName | [string]: name of radio button group | |
$value | [string]: HTML value attribute of radio button (used to determine which radio button in a group was selected) | |
$checked | [boolean]: whether this radio button should be initially selected |
Reimplemented from TKFormInput.