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.

Parameters:
array $metadata
Returns:
object LayoutPanelsTypeForm

Definition at line 48 of file PanelsDisplayTypeLayoutMetadataUtil.php.

static populateSaveableMetadataFromPostData ( &$  savableMetadata,
layoutPanelsTypeFormPostData 
) [static]

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

Parameters:
array $savableMetadata
Returns:
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 Thu Mar 23 07:10:28 2017