
Public Member Functions | |
| __construct ($name, $value) | |
| Called by descendent classes. | |
Static Public Member Functions | |
| static | createFromXML ($attrs, $value, $node) |
Protected Member Functions | |
| getStandardProperties () | |
| Returns HTML attributes for the common form attributes. | |
string: element name, for use in processing forms boolean: whether element is disabled (can't edit) string: elements default value
Definition at line 21 of file TKFormElement.php5.
| TKFormElement::__construct | ( | $ | name, | |
| $ | value | |||
| ) |
Called by descendent classes.
| $name | [string]: initial value for 'name' property | |
| $value | [string]: initial value for 'value' property |
Definition at line 28 of file TKFormElement.php5.
References TKComponent::addEvent(), and TKComponent::addProperty().
| static TKFormElement::createFromXML | ( | $ | attrs, | |
| $ | value, | |||
| $ | node | |||
| ) | [static] |
For internal use only.
Reimplemented from TKComponent.
Reimplemented in TKFormInput, TKSelect, and TKTextArea.
Definition at line 76 of file TKFormElement.php5.
| TKFormElement::getStandardProperties | ( | ) | [protected] |
Returns HTML attributes for the common form attributes.
For internal use only.
The attributes are 'disabled', 'name' and 'value'. If any of these are set, an appropriate 'attr="value"' string is generated, otherwise the string is blank. All three are returned in array.
Definition at line 56 of file TKFormElement.php5.
Referenced by TKTextArea::renderComponent(), TKSelect::renderComponent(), and TKFormInput::renderComponent().
1.5.6