
Public Member Functions | |
| __construct ($type, $name, $value="") | |
| Creates new form input. | |
All input-tag elements are created with this one class. You simply specify the type in the constructor.
string: input type (e.g. 'text', 'checkbox', etc.)
| TKFormInput::__construct | ( | $ | type, | |
| $ | name, | |||
| $ | value = "" | |||
| ) |
Creates new form input.
Type is required, but if not given, then most webbrowsers default to 'text'
| $type | [string]: input type | |
| $name | [string]: element name, for form processing | |
| $value | [string]: initial/default value of element |
Reimplemented in TKCheckBox, and TKRadioButton.
1.5.6