DropDownDependencyCustomFieldMapping Class Reference

Public Member Functions

 __construct ($position, $attributeName, $availableCustomFieldAttributes, $customFieldData, $mappingData)
 doNotAllowAttributeSelection ()
 allowsAttributeSelection ()
 getTitle ()
 getPosition ()
 getAttributeName ()
 getAvailableCustomFieldAttributes ()
 getSelectHigherLevelFirstMessage ()
 getCustomFieldData ()
 getMappingDataSelectedParentValueByValue ($value)

Protected Attributes

 $allowAttributeSelection = true
 $position
 $attributeName
 $availableCustomFieldAttributes
 $customFieldData
 $mappingData

Detailed Description

Class contains information about mapping for a particular 'level' in the drop down dependency.

Definition at line 40 of file DropDownDependencyCustomFieldMapping.php.


Constructor & Destructor Documentation

__construct ( position,
attributeName,
availableCustomFieldAttributes,
customFieldData,
mappingData 
)
Parameters:
integer $position
string $attributeName
array $availableCustomFieldAttributes
CustomFieldData $customFieldData
array $mappingData

Definition at line 85 of file DropDownDependencyCustomFieldMapping.php.


Member Function Documentation

doNotAllowAttributeSelection (  ) 

Sets $allowAttributeSelection to false. This method is called when a higher 'level' mapping is required first before an attribute can be selected at this level.

Definition at line 107 of file DropDownDependencyCustomFieldMapping.php.

getSelectHigherLevelFirstMessage (  ) 

In the event that this 'level' requires a higher level to be selected first, then a string with message content will ber returned.

Definition at line 141 of file DropDownDependencyCustomFieldMapping.php.

getMappingDataSelectedParentValueByValue ( value  ) 

Given a value, return the mapped parent value.

Parameters:
string $value

Definition at line 159 of file DropDownDependencyCustomFieldMapping.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:24 2017