All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
DetailsViewFormLayout Class Reference
Inheritance diagram for DetailsViewFormLayout:
FormLayout CalendarItemDetailsViewFormLayout

Public Member Functions

 labelsHaveOwnCells ($hasOwnCells)
 
 render ()
 
 setMorePanelsLinkLabel ($label)
 
 setLessPanelsLinkLabel ($label)
 
- Public Member Functions inherited from FormLayout
 __construct ($metadata, $maxCellsPerRow, $errorSummaryContent, $uniqueId=null)
 
 render ()
 

Data Fields

 $alwaysShowErrorSummary = false
 
- Data Fields inherited from FormLayout
const PANELS_DISPLAY_TYPE_ALL = 1
 
const PANELS_DISPLAY_TYPE_FIRST = 2
 
const PANELS_DISPLAY_TYPE_TABBED = 3
 

Protected Member Functions

 resolveStartingTableTagAndColumnQuantityClass ($panel)
 
 resolveRowWrapperTag (&$content, $cellsContent)
 
 renderPanelHeaderByPanelNumberAndPanel ($panelNumber, $panel)
 
 renderDivTagByPanelNumber ($panelNumber)
 
 renderLastPanelRowsByPanelNumber ($panelNumber)
 
 renderScripts ()
 
 resolveFormLayoutContent ($content)
 
 shouldHidePanelsAfterFirstPanel ()
 
 shouldRenderTabbedPanels ()
 
 addTabsContent ($content)
 
 getTabsContent ()
 
 getMorePanelsLinkLabel ()
 
 getLessPanelsLinkLabel ()
 

Protected Attributes

 $tabsContent
 
 $morePanelsLinkLabel
 
 $lessPanelsLinkLabel
 
 $labelsHaveOwnCells = true
 
- Protected Attributes inherited from FormLayout
 $metadata
 
 $uniqueId
 
 $maxCellsPerRow
 
 $errorSummaryContent
 

Additional Inherited Members

- Static Public Member Functions inherited from FormLayout
static getMaximumColumnCountForAllPanels ($metadata)
 
static getMaximumColumnCountForSpecificPanels ($panel)
 
- Static Protected Member Functions inherited from FormLayout
static makeUniqueId ()
 

Detailed Description

Definition at line 37 of file DetailsViewFormLayout.php.

Member Function Documentation

labelsHaveOwnCells (   $hasOwnCells)

Set the labels to have their own cells or not.

Parameters
boolean$hasOwnCells

Definition at line 67 of file DetailsViewFormLayout.php.

render ( )

Render a form layout. Gets appropriate meta data and loops through it. Builds form content as it loops through. For each element in the form it calls the appropriate Element class.

Returns
A string containing the element's content.

Definition at line 80 of file DetailsViewFormLayout.php.

resolveRowWrapperTag ( $content,
  $cellsContent 
)
protected

If the cell content contains a <tr at the beginning, then assume we do not need to wrap or end with a tr

Definition at line 141 of file DetailsViewFormLayout.php.

Field Documentation

$tabsContent
protected

Used by the render of the form layout when the panels are to be displayed in a tabbed format.

See Also
FormLayout::PANELS_DISPLAY_TYPE_TABBED

Definition at line 43 of file DetailsViewFormLayout.php.


The documentation for this class was generated from the following file:
Generated on Mon Jun 1 2020 07:10:45