|
| __construct ($metadata, $maxCellsPerRow, $errorSummaryContent, $uniqueId=null) |
|
| render () |
|
|
const | PANELS_DISPLAY_TYPE_ALL = 1 |
|
const | PANELS_DISPLAY_TYPE_FIRST = 2 |
|
const | PANELS_DISPLAY_TYPE_TABBED = 3 |
|
|
| $metadata |
|
| $uniqueId |
|
| $maxCellsPerRow |
|
| $errorSummaryContent |
|
Helper class for rendering form layouts for views.
Definition at line 40 of file FormLayout.php.
__construct |
( |
|
$metadata, |
|
|
|
$maxCellsPerRow, |
|
|
|
$errorSummaryContent, |
|
|
|
$uniqueId = null |
|
) |
| |
- Parameters
-
array | $metadata | |
integer | $maxCellsPerRow | |
Definition at line 90 of file FormLayout.php.
Make a id that will be unique across all rendered content.
- Returns
- string
Definition at line 112 of file FormLayout.php.
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: