PanelsDisplayTypeLayoutMetadataUtil Class Reference

Static Public Member Functions

static makeFormFromEditableMetadata ($metadata)
static populateSaveableMetadataFromPostData (&$savableMetadata, $layoutPanelsTypeFormPostData)

Detailed Description

Helper class to manage changing the panelsDisplayType for a layout in the designer user interface.

Definition at line 41 of file PanelsDisplayTypeLayoutMetadataUtil.php.

Member Function Documentation

static makeFormFromEditableMetadata ( metadata  )  [static]

Given metadata make a LayoutPanelsTypeForm.

array $metadata
object LayoutPanelsTypeForm

Definition at line 48 of file PanelsDisplayTypeLayoutMetadataUtil.php.

static populateSaveableMetadataFromPostData ( &$  savableMetadata,
) [static]

Given savable metadata for a layout, populate that array from the posted data.

array $savableMetadata
boolean true if the savable metadata was populated successfully.

Definition at line 65 of file PanelsDisplayTypeLayoutMetadataUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 19 07:10:26 2018