
Public Member Functions | |
| __construct ($type, $name, $value="") | |
| Creates new form input. | |
Static Public Member Functions | |
| static | createFromXML ($attrs, $contents, $node) |
Protected Member Functions | |
| renderComponent ($class, $style, $events, $id) | |
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.)
Definition at line 13 of file TKFormInput.php5.
| 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.
Definition at line 23 of file TKFormInput.php5.
References TKComponent::addProperty().
| static TKFormInput::createFromXML | ( | $ | attrs, | |
| $ | contents, | |||
| $ | node | |||
| ) | [static] |
For internal use only.
Reimplemented from TKFormElement.
Definition at line 48 of file TKFormInput.php5.
| TKFormInput::renderComponent | ( | $ | class, | |
| $ | style, | |||
| $ | events, | |||
| $ | id | |||
| ) | [protected] |
For internal use only.
Reimplemented from TKComponent.
Reimplemented in TKCheckBox, and TKRadioButton.
Definition at line 36 of file TKFormInput.php5.
References TKFormElement::getStandardProperties().
1.5.6