Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 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

 $modelClassName
 
 $attributeName
 
 $maxDepth
 

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,
  $attributeName,
  $maxDepth 
)
Parameters
string$modelClassName
string$attributeName
integer$maxDepth

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.
Parameters
array$mappingData
Returns
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 Jul 2 2020 07:10:46
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.