Framework  3.9
SelectableTableHeaderFormLayout Class Reference

Overrides the default table-row form layout to provide a selection checkbox for SpreadsheetForms with selectable sub-forms. More...

+ Inheritance diagram for SelectableTableHeaderFormLayout:
+ Collaboration diagram for SelectableTableHeaderFormLayout:

Public Member Functions

 __construct ($form)
 
 startUngrouped ()
 
- Public Member Functions inherited from TableHeaderFormLayout
 startGroup ($name, $collapsible=false, $collapsed=false)
 
 endGroup ()
 
 startField ($field, $renderer, $colspan=1, $styles="")
 
 endField ($field, $renderer)
 
 requiredFields ($text)
 
 printLabel ($field, $renderer, $styles="", $annotation="")
 Internal method to generate the HTML for the field label. More...
 
 getLabel ($field, $renderer, $addSuffix=true)
 
 endUngrouped ()
 
 startButtonLine ()
 
 endButtonLine ()
 
 errorBox ()
 
- Public Member Functions inherited from AutoFormLayout
 getGroupClass ($name, $collapsible, $collapsed, $additionalClass="")
 
 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...
 

Detailed Description

Overrides the default table-row form layout to provide a selection checkbox for SpreadsheetForms with selectable sub-forms.

Author
andy

Definition at line 436 of file auto_form_layout.inc.

Constructor & Destructor Documentation

◆ __construct()

SelectableTableHeaderFormLayout::__construct (   $form)

Reimplemented from TableHeaderFormLayout.

Definition at line 438 of file auto_form_layout.inc.

439  {
440  parent::__construct($form);
441  }

Member Function Documentation

◆ startUngrouped()

SelectableTableHeaderFormLayout::startUngrouped ( )

Reimplemented from TableHeaderFormLayout.

Definition at line 443 of file auto_form_layout.inc.

444  {
445  echo "<tr id='{$this->form->id}_container' class='{$this->form->containerClass}'><th style='text-align: center'>&nbsp;</th>\n";
446  }

The documentation for this class was generated from the following file: