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

Public Member Functions

 __construct ($metadata, $maxCellsPerRow, $errorSummaryContent, $uniqueId=null)
 
 render ()
 

Static Public Member Functions

static getMaximumColumnCountForAllPanels ($metadata)
 
static getMaximumColumnCountForSpecificPanels ($panel)
 

Data Fields

const PANELS_DISPLAY_TYPE_ALL = 1
 
const PANELS_DISPLAY_TYPE_FIRST = 2
 
const PANELS_DISPLAY_TYPE_TABBED = 3
 

Static Protected Member Functions

static makeUniqueId ()
 

Protected Attributes

 $metadata
 
 $uniqueId
 
 $maxCellsPerRow
 
 $errorSummaryContent
 

Detailed Description

Helper class for rendering form layouts for views.

Definition at line 40 of file FormLayout.php.

Constructor & Destructor Documentation

__construct (   $metadata,
  $maxCellsPerRow,
  $errorSummaryContent,
  $uniqueId = null 
)
Parameters
array$metadata
integer$maxCellsPerRow

Definition at line 90 of file FormLayout.php.

Member Function Documentation

static makeUniqueId ( )
staticprotected

Make a id that will be unique across all rendered content.

Returns
string

Definition at line 112 of file FormLayout.php.

render ( )
abstract

Render a form layout. Override to build form layout content.

static getMaximumColumnCountForAllPanels (   $metadata)
static

Get the maximum column count across all panels from the metadata.

Returns
integer column count.

Definition at line 126 of file FormLayout.php.

static getMaximumColumnCountForSpecificPanels (   $panel)
static

Get the maximum column count for a specific panel

Returns
integer column count.

Definition at line 152 of file FormLayout.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:46