
Public Member Functions | |
| __construct ($action="", $method="post") | |
| Creates a new form table. | |
| addInput ($input, $label="", $newRow=true) | |
| Adds another line of input to the form. | |
| addSubmit ($name, $label) | |
| Adds a submit button to the form. | |
Static Public Member Functions | |
| static | createFromXML ($attrs, $contents, $node) |
Protected Member Functions | |
| renderContainer ($class, $style, $events, $id) | |
string: form action string: form method (e.g. "get", "post") array: CSS class applied to the form itself, not the table it contains array: CSS style applied to the form itself, not the table it contains
Definition at line 14 of file TKFormTable.php5.
| TKFormTable::__construct | ( | $ | action = "", |
|
| $ | method = "post" | |||
| ) |
Creates a new form table.
| $action | [string]: URL to submit form to | |
| $method | [string]: 'get' or 'post' |
Definition at line 20 of file TKFormTable.php5.
References TKComponent::addProperty().
| TKFormTable::addInput | ( | $ | input, | |
| $ | label = "", |
|||
| $ | newRow = true | |||
| ) |
Adds another line of input to the form.
| $input | [TKFormElement]: input to add | |
| $label | [string]: label for input; appears to left of input | |
| $newRow | [boolean]: whether input should get a new row or should go on previous row |
Definition at line 41 of file TKFormTable.php5.
References TKTable::addRow().
| TKFormTable::addSubmit | ( | $ | name, | |
| $ | label | |||
| ) |
Adds a submit button to the form.
| $name | [string]: HTML name attribute for submit button | |
| $label | [string]: text displayed on submit button |
Definition at line 53 of file TKFormTable.php5.
References TKTable::addRow().
| static TKFormTable::createFromXML | ( | $ | attrs, | |
| $ | contents, | |||
| $ | node | |||
| ) | [static] |
For internal use only.
Reimplemented from TKTable.
Definition at line 74 of file TKFormTable.php5.
References TKContainer::$children.
| TKFormTable::renderContainer | ( | $ | class, | |
| $ | style, | |||
| $ | events, | |||
| $ | id | |||
| ) | [protected] |
For internal use only.
Reimplemented from TKTable.
Definition at line 64 of file TKFormTable.php5.
References TKComponent::getId().
1.5.6