All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
DropDownDependencyToMappingLayoutAdapter Class Reference

Public Member Functions

 __construct ($modelClassName, $attributeName, $maxDepth)
 makeDependencyCollectionByMappingData ($mappingData)
 getCustomFieldAttributesNotUsedInOtherDependencyAttributes ()

Protected Member Functions

 resolveAvailableCustomFieldAttributes (&$availableCustomFieldAttributes, $parentAttributeName)
 getAttributeCustomFieldData ($attributeName)
 resolveValuesToParentValues ($dependencyData)

Protected Attributes


Detailed Description

Helper class to adapt a drop down dependency mapping into a dependency collection that can be utilized by the mapping layout to display in the user interface.

Definition at line 41 of file DropDownDependencyToMappingLayoutAdapter.php.

Constructor & Destructor Documentation

__construct (   $modelClassName,

Definition at line 54 of file DropDownDependencyToMappingLayoutAdapter.php.

Member Function Documentation

makeDependencyCollectionByMappingData (   $mappingData)

Given an array of mapping data, create a collection of DropDownDependencyCustomFieldMapping objects. Include the unmapped objects as well. For example, if the mapping data only has mappings for 2 attributes, based on the

See Also
$this->maxDepth, it should make additional DropDownDependencyCustomFieldMapping if required.
array of DropDownDependencyCustomFieldMapping objects.

Definition at line 71 of file DropDownDependencyToMappingLayoutAdapter.php.

getCustomFieldAttributesNotUsedInOtherDependencyAttributes ( )

Public for testing only.

Definition at line 124 of file DropDownDependencyToMappingLayoutAdapter.php.

The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:31