![]() |
Framework
3.9
|
Lays out the AutoForm using table-based layout. More...
Inheritance diagram for TableBasedFormLayout:
Collaboration diagram for TableBasedFormLayout:Public Member Functions | |
| __construct ($form) | |
| startGroup ($name, $collapsible=false, $collapsed=false) | |
| endGroup () | |
| startField ($field, $renderer, $colspan=1, $styles="") | |
| endField ($field, $renderer) | |
| printLabel ($field, $renderer, $styles="", $annotation="") | |
| Internal method to generate the HTML for the field label. More... | |
| startUngrouped () | |
| endUngrouped () | |
| startButtonLine () | |
| endButtonLine () | |
| errorBox () | |
| requiredFields ($text) | |
Public Member Functions inherited from AutoFormLayout | |
| getGroupClass ($name, $collapsible, $collapsed, $additionalClass="") | |
| getLabel ($field, $renderer, $addSuffix=true) | |
| getLabelID ($field) | |
| finalizeLayout () | |
Additional Inherited Members | |
Static Public Member Functions inherited from AutoFormLayout | |
| static | create ($type, $form) |
Public Attributes inherited from AutoFormLayout | |
| $form | |
| $externalErrorBox = false | |
| Flag indicating whether the error box should be rendered inside the form grouping. More... | |
Lays out the AutoForm using table-based layout.
Definition at line 129 of file auto_form_layout.inc.
| TableBasedFormLayout::__construct | ( | $form | ) |
Reimplemented from AutoFormLayout.
Reimplemented in UngroupedFormLayout.
Definition at line 131 of file auto_form_layout.inc.
| TableBasedFormLayout::endButtonLine | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 256 of file auto_form_layout.inc.
| TableBasedFormLayout::endField | ( | $field, | |
| $renderer | |||
| ) |
Reimplemented from AutoFormLayout.
Definition at line 194 of file auto_form_layout.inc.
| TableBasedFormLayout::endGroup | ( | ) |
Reimplemented from AutoFormLayout.
Reimplemented in UngroupedFormLayout.
Definition at line 153 of file auto_form_layout.inc.
| TableBasedFormLayout::endUngrouped | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 245 of file auto_form_layout.inc.
| TableBasedFormLayout::errorBox | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 261 of file auto_form_layout.inc.
| TableBasedFormLayout::printLabel | ( | $field, | |
| $renderer, | |||
$styles = "", |
|||
$annotation = "" |
|||
| ) |
Internal method to generate the HTML for the field label.
| string | $field | the field name |
| int | $colspan | the number of columns to span |
| string | $styles | optional special styles that need to be applied |
| string | $annotation | annotation text for the field |
Reimplemented from AutoFormLayout.
Definition at line 220 of file auto_form_layout.inc.
| TableBasedFormLayout::requiredFields | ( | $text | ) |
Reimplemented from AutoFormLayout.
Definition at line 266 of file auto_form_layout.inc.
| TableBasedFormLayout::startButtonLine | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 250 of file auto_form_layout.inc.
| TableBasedFormLayout::startField | ( | $field, | |
| $renderer, | |||
$colspan = 1, |
|||
$styles = "" |
|||
| ) |
Reimplemented from AutoFormLayout.
Definition at line 171 of file auto_form_layout.inc.
| TableBasedFormLayout::startGroup | ( | $name, | |
$collapsible = false, |
|||
$collapsed = false |
|||
| ) |
Reimplemented from AutoFormLayout.
Reimplemented in UngroupedFormLayout.
Definition at line 136 of file auto_form_layout.inc.
| TableBasedFormLayout::startUngrouped | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 237 of file auto_form_layout.inc.