Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
DropDownDependencyDerivedAttributeDesignerUtil Class Reference

Static Public Member Functions

static updateValueInMappingByOldAndNewValue ($modelClassName, $attributeName, $oldAndNewValuePairs)
 
static resolveValuesInMappingWhenValueWasRemoved ($modelClassName, $attributeName, $customFieldDataData)
 

Detailed Description

Helper class to work with changes to mapped dropDown values in a dropDown dependency derived attribute.

Definition at line 40 of file DropDownDependencyDerivedAttributeDesignerUtil.php.

Member Function Documentation

static updateValueInMappingByOldAndNewValue (   $modelClassName,
  $attributeName,
  $oldAndNewValuePairs 
)
static

Given an array of old and new values for a dropDown, make the appropriate changes to the mappings if needed.

Parameters
string$modelClassName
string$attributeName
array$oldAndNewValuePairs

Definition at line 48 of file DropDownDependencyDerivedAttributeDesignerUtil.php.

static resolveValuesInMappingWhenValueWasRemoved (   $modelClassName,
  $attributeName,
  $customFieldDataData 
)
static

Given an array of customFieldData's data, resolve if any data has been removed and is currently mapped. If it is mapped remove it.

Parameters
string$modelClassName
string$attributeName
array$customFieldDataData

Definition at line 130 of file DropDownDependencyDerivedAttributeDesignerUtil.php.


The documentation for this class was generated from the following file:
Generated on Sun Jul 12 2020 07:10:44
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.