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

DesignerRules Class Reference

Inheritance diagram for DesignerRules:
AccountConvertToViewDesignerRules DetailsPortletViewDesignerRules DetailsViewDesignerRules EditAndDetailsViewDesignerRules EditViewDesignerRules ForMixedModelsSearchListViewDesignerRules ListViewDesignerRules MassEditViewDesignerRules OpportunityConvertToViewDesignerRules ProductCategoryEditAndDetailViewDesignerRules SearchViewDesignerRules UserChangePasswordViewDesignerRules UserCreateViewDesignerRules UserEditAndDetailsViewDesignerRules UserNotificationConfigurationEditViewDesignerRules

Public Member Functions

 allowEditInLayoutTool ()
 canAddPanels ()
 canAddRows ()
 canMergeAndSplitCells ()
 canModifyCellSettings ()
 canModifyPanelSettings ()
 canMovePanels ()
 canMoveRows ()
 canRemovePanels ()
 canRemoveRows ()
 canConfigureLayoutPanelsType ()
 formatSavableMetadataFromLayout ($metadata, $viewClassName)
 formatSavableElement ($element, $viewClassName)
 getCellSettingsAttributes ()
 getDerivedAttributeTypes ()
 getDisplayName ()
 resolveDisplayNameByView ($viewClassName)
 getMetadataViewClassNames ($viewClassName, $moduleClassName)
 getPanelSettingsAttributes ()
 getSavableMetadataRules ()
 mergeRowAndAttributePlacement ()
 requireAllRequiredFieldsInLayout ()
 isRequiredAttributeExemptFromBeingPlacedInLayout ($attributeName)
 areAllPseudoRequiredDerivedAttributeTypesPlacedInLayout ($placedDerivedAttributeTypes)
 requireOnlyUniqueFieldsInLayout ()
 getNonPlaceableLayoutAttributeNames ()
 getNonPlaceableLayoutAttributeTypes ()
 formatEditableMetadataForLayoutParsing ($metadata)
 maxCellsPerRow ()
 shouldPlaceNullElement ()

Static Public Member Functions

static getSavedLayoutSuccessMessage ()

Static Protected Member Functions

static doesRuleApplyToElement ($rule, $elementInformation, $viewClassName)

Detailed Description

Class to help the designer module editing understand how to parse and handle the views it is editing.

Definition at line 41 of file DesignerRules.php.


Member Function Documentation

formatSavableMetadataFromLayout ( metadata,
viewClassName 
)

Override to add special formatting to the savableMetadata

Definition at line 101 of file DesignerRules.php.

formatSavableElement ( element,
viewClassName 
)
See also:
formatSavableMetadataFromLayout. This method is if you just want to format a single element and return it.
Returns:
formatted element

Definition at line 145 of file DesignerRules.php.

static doesRuleApplyToElement ( rule,
elementInformation,
viewClassName 
) [static, protected]

Override if special handling is required to ignore certain rules from applying to the element before the metadata is saved.

See also:
formatSavableMetadataFromLayout()
Parameters:
string $rule
array $elementInformation
string $viewClassName

Reimplemented in EditAndDetailsViewDesignerRules, and SearchViewDesignerRules.

Definition at line 171 of file DesignerRules.php.

getDerivedAttributeTypes (  ) 

Override if a rule requires that certain derived attributes types be made not available for placement using the layout tool

Returns:
array

Definition at line 186 of file DesignerRules.php.

resolveDisplayNameByView ( viewClassName  ) 

Override if you need to return a different display name than what designer rules provides.

Reimplemented in InlineEditViewDesignerRules, MyListConfigViewDesignerRules, MyListViewDesignerRules, and RelatedListViewDesignerRules.

Definition at line 198 of file DesignerRules.php.

isRequiredAttributeExemptFromBeingPlacedInLayout ( attributeName  ) 

Override if a rule allows that certain required attributes be not placed in layout since they are placed by default in edit view.

Reimplemented in DetailsViewOnlyForUserOwnerEditAndDetailsViewDesignerRules.

Definition at line 231 of file DesignerRules.php.

areAllPseudoRequiredDerivedAttributeTypesPlacedInLayout ( placedDerivedAttributeTypes  ) 

Override if a rule allows that certain non-required derived attribute types being actually required to be placed in layout.

Reimplemented in NoteInlineEditViewDesignerRules.

Definition at line 240 of file DesignerRules.php.

getNonPlaceableLayoutAttributeTypes (  ) 

Override if a rule requires that certain attributes types be made not available for placement using the layout tool

Reimplemented in ListViewDesignerRules, MassEditViewDesignerRules, and SearchViewDesignerRules.

Definition at line 263 of file DesignerRules.php.

formatEditableMetadataForLayoutParsing ( metadata  ) 

Adds an extra formatting to ensure uniformity for layout parsing. Adds 'wide' => true if the cell should span.

Definition at line 273 of file DesignerRules.php.

shouldPlaceNullElement (  ) 

If an element is null, should we place it in the metadata.

Reimplemented in ListViewDesignerRules.

Definition at line 306 of file DesignerRules.php.

static getSavedLayoutSuccessMessage (  )  [static]

Gets saved layout success message.

Returns:
array

Reimplemented in ListViewDesignerRules.

Definition at line 315 of file DesignerRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:50 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