Public Member Functions | |
__construct ($modelClassName, $attributeName, $maxDepth) | |
makeDependencyCollectionByMappingData ($mappingData) | |
getCustomFieldAttributesNotUsedInOtherDependencyAttributes () | |
Protected Attributes | |
$modelClassName | |
$attributeName | |
$maxDepth | |
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.
__construct | ( | $modelClassName, | |
$attributeName, | |||
$maxDepth | |||
) |
string | $modelClassName | |
string | $attributeName | |
integer | $maxDepth |
Definition at line 54 of file DropDownDependencyToMappingLayoutAdapter.php.
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
array | $mappingData |
Definition at line 71 of file DropDownDependencyToMappingLayoutAdapter.php.
getCustomFieldAttributesNotUsedInOtherDependencyAttributes | ( | ) |
Public for testing only.
Definition at line 124 of file DropDownDependencyToMappingLayoutAdapter.php.