![]() |
Framework
3.9
|
TemplateFormLayout provides support for custom form layouts. More...
Public Member Functions | |
__construct ($form, $template, $showButtons=true) | |
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) | |
finalizeLayout () | |
![]() | |
__construct ($form) | |
getGroupClass ($name, $collapsible, $collapsed, $additionalClass="") | |
getLabel ($field, $renderer, $addSuffix=true) | |
getLabelID ($field) | |
Public Attributes | |
$template | |
$output | |
$showButtons = true | |
![]() | |
$form | |
$externalErrorBox = false | |
Flag indicating whether the error box should be rendered inside the form grouping. More... | |
Additional Inherited Members | |
![]() | |
static | create ($type, $form) |
TemplateFormLayout provides support for custom form layouts.
Definition at line 1008 of file auto_form_layout.inc.
TemplateFormLayout::__construct | ( | $form, | |
$template, | |||
$showButtons = true |
|||
) |
Definition at line 1014 of file auto_form_layout.inc.
TemplateFormLayout::endButtonLine | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1116 of file auto_form_layout.inc.
TemplateFormLayout::endField | ( | $field, | |
$renderer | |||
) |
Reimplemented from AutoFormLayout.
Definition at line 1041 of file auto_form_layout.inc.
TemplateFormLayout::endGroup | ( | ) |
TemplateFormLayout::endUngrouped | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1103 of file auto_form_layout.inc.
TemplateFormLayout::errorBox | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1127 of file auto_form_layout.inc.
TemplateFormLayout::finalizeLayout | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1137 of file auto_form_layout.inc.
TemplateFormLayout::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 1072 of file auto_form_layout.inc.
TemplateFormLayout::requiredFields | ( | $text | ) |
Reimplemented from AutoFormLayout.
Definition at line 1132 of file auto_form_layout.inc.
TemplateFormLayout::startButtonLine | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1107 of file auto_form_layout.inc.
TemplateFormLayout::startField | ( | $field, | |
$renderer, | |||
$colspan = 1 , |
|||
$styles = "" |
|||
) |
Reimplemented from AutoFormLayout.
Definition at line 1033 of file auto_form_layout.inc.
TemplateFormLayout::startGroup | ( | $name, | |
$collapsible = false , |
|||
$collapsed = false |
|||
) |
TemplateFormLayout::startUngrouped | ( | ) |
Reimplemented from AutoFormLayout.
Definition at line 1094 of file auto_form_layout.inc.
TemplateFormLayout::$output |
Definition at line 1011 of file auto_form_layout.inc.
TemplateFormLayout::$showButtons = true |
Definition at line 1012 of file auto_form_layout.inc.
TemplateFormLayout::$template |
Definition at line 1010 of file auto_form_layout.inc.