![]() |
Framework
3.9
|
AutoFormLayout provides the abstract base class for form layout engine classes. More...
Inheritance diagram for AutoFormLayout:Public Member Functions | |
| __construct ($form) | |
| getGroupClass ($name, $collapsible, $collapsed, $additionalClass="") | |
| startGroup ($name, $collapsible=false, $collapsed=false) | |
| endGroup () | |
| startField ($field, $renderer, $colspan=1, $styles="") | |
| endField ($field, $renderer) | |
| printLabel ($field, $renderer, $styles="", $annotation="") | |
| getLabel ($field, $renderer, $addSuffix=true) | |
| getLabelID ($field) | |
| startUngrouped () | |
| endUngrouped () | |
| startButtonLine () | |
| endButtonLine () | |
| errorBox () | |
| requiredFields ($text) | |
| finalizeLayout () | |
Static Public Member Functions | |
| static | create ($type, $form) |
Public Attributes | |
| $form | |
| $externalErrorBox = false | |
| Flag indicating whether the error box should be rendered inside the form grouping. More... | |
AutoFormLayout provides the abstract base class for form layout engine classes.
When a form is constructed as an AutoForm object, the layout engine provides the HTML structure that the form fields are rendered within. Fakoli provides a number of layout engines for different application styles. You can specify a default layout in your applications config or settings, and can override this value on any AutoForm via the AutoForm::setLayout() method.
Definition at line 15 of file auto_form_layout.inc.
| AutoFormLayout::__construct | ( | $form | ) |
Reimplemented in FilterFormLayout, SimpleFormLayout, MobileFormLayout, SpreadsheetFormLayout, SelectableTableRowFormLayout, TableRowFormLayout, SelectableTableHeaderFormLayout, TableHeaderFormLayout, MobileUngroupedFormLayout, UngroupedFormLayout, and TableBasedFormLayout.
Definition at line 21 of file auto_form_layout.inc.
|
static |
Definition at line 88 of file auto_form_layout.inc.
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
| AutoFormLayout::finalizeLayout | ( | ) |
Reimplemented in TemplateFormLayout.
Definition at line 121 of file auto_form_layout.inc.
| AutoFormLayout::getGroupClass | ( | $name, | |
| $collapsible, | |||
| $collapsed, | |||
$additionalClass = "" |
|||
| ) |
Definition at line 26 of file auto_form_layout.inc.
| AutoFormLayout::getLabel | ( | $field, | |
| $renderer, | |||
$addSuffix = true |
|||
| ) |
Reimplemented in SpreadsheetFormLayout, TableRowFormLayout, and TableHeaderFormLayout.
Definition at line 53 of file auto_form_layout.inc.
| AutoFormLayout::getLabelID | ( | $field | ) |
Definition at line 74 of file auto_form_layout.inc.
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
|
abstract |
| AutoFormLayout::$externalErrorBox = false |
Flag indicating whether the error box should be rendered inside the form grouping.
Definition at line 19 of file auto_form_layout.inc.
| AutoFormLayout::$form |
Definition at line 17 of file auto_form_layout.inc.