DetailsViewFormLayout Class Reference

Inheritance diagram for DetailsViewFormLayout:
FormLayout CalendarItemDetailsViewFormLayout

Public Member Functions

 labelsHaveOwnCells ($hasOwnCells)
 render ()
 setMorePanelsLinkLabel ($label)
 setLessPanelsLinkLabel ($label)

Data Fields

 $alwaysShowErrorSummary = false

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

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.

Reimplemented from FormLayout.

Reimplemented in CalendarItemDetailsViewFormLayout.

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

Reimplemented in CalendarItemDetailsViewFormLayout.

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:
 All Data Structures Functions Variables
Generated on Thu Dec 14 07:10:23 2017