TKFormInput Class Reference
[Form Elements]

Represents an HTML <input> tag. More...

Inheritance diagram for TKFormInput:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($type, $name, $value="")
 Creates new form input.


Detailed Description

Represents an HTML <input> tag.

All input-tag elements are created with this one class. You simply specify the type in the constructor.

Properties:
  • type string: input type (e.g. 'text', 'checkbox', etc.)


Constructor & Destructor Documentation

TKFormInput::__construct ( type,
name,
value = "" 
)

Creates new form input.

Type is required, but if not given, then most webbrowsers default to 'text'

Parameters:
$type [string]: input type
$name [string]: element name, for form processing
$value [string]: initial/default value of element

Reimplemented in TKCheckBox, and TKRadioButton.


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

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