TKRadioButton Class Reference
[Form Elements]

Represents an HTML radio button. More...

Inheritance diagram for TKRadioButton:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($groupName, $value, $checked=false)
 Creates a new radio butotn.


Detailed Description

Represents an HTML radio button.

Events:
  • oncheck: called when radio button is checked when previously unchecked
  • onuncheck: called when radio button is unchecked when previously checked

Properties:
  • checked boolean: initial state of radio button (checked or not)


Constructor & Destructor Documentation

TKRadioButton::__construct ( groupName,
value,
checked = false 
)

Creates a new radio butotn.

Parameters:
$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.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:04:26 2010 for Common by  doxygen 1.5.6