Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 (  )  [static, protected]

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.

Reimplemented in DetailsViewFormLayout, and CalendarItemDetailsViewFormLayout.

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:
 All Data Structures Functions Variables
Generated on Mon Apr 22 07:10:56 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8