
Public Member Functions | |
| __construct ($groupName, $value, $checked=false) | |
| Creates a new radio butotn. | |
| renderComponent ($class, $style, $events, $id) | |
boolean: initial state of radio button (checked or not)
Definition at line 15 of file TKRadioButton.php5.
| 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.
Definition at line 23 of file TKRadioButton.php5.
References TKComponent::addEvent(), TKComponent::addProperty(), and TKComponent::setAction().
| TKRadioButton::renderComponent | ( | $ | class, | |
| $ | style, | |||
| $ | events, | |||
| $ | id | |||
| ) |
For internal use only.
Reimplemented from TKFormInput.
Definition at line 40 of file TKRadioButton.php5.
References TKComponent::$id.
1.5.6