TKCheckBox Class Reference
[Form Elements]

Represents HTML checkbox. More...

Inheritance diagram for TKCheckBox:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($name, $value="", $checked=false)
 Creates a new checkbox.


Detailed Description

Represents HTML checkbox.

Events:
  • oncheck: called when checkbox is checked when previously unchecked
  • onuncheck: called when checkbox is unchecked when previously checked

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


Constructor & Destructor Documentation

TKCheckBox::__construct ( name,
value = "",
checked = false 
)

Creates a new checkbox.

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


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

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