ContactStateAttributeImportRules Class Reference

Inheritance diagram for ContactStateAttributeImportRules:
DerivedAttributeImportRules AttributeImportRules LeadStateAttributeImportRules

Public Member Functions

 getDisplayLabel ()
 getRealModelAttributeNames ()
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)

Static Public Member Functions

static getSanitizerUtilTypesInProcessingOrder ()

Static Protected Member Functions

static getAllModelAttributeMappingRuleFormTypesAndElementTypes ()

Detailed Description

Import rules for the contact state attribute. This is used for the states that are the starting state or after.

Definition at line 40 of file ContactStateAttributeImportRules.php.


Member Function Documentation

static getAllModelAttributeMappingRuleFormTypesAndElementTypes (  )  [static, protected]

Returns mapping rule form and the associated element to use. Override to specify as many pairings as needed. This method is used for mapping rule form/element pairings that are available for both types of columns.

Returns:
array of MappingRuleForm/Element pairings.

Reimplemented from AttributeImportRules.

Reimplemented in LeadStateAttributeImportRules.

Definition at line 42 of file ContactStateAttributeImportRules.php.

getDisplayLabel (  ) 

Override in any derived children classes to ensure a display label is available.

See also:
AttributeImportRules::getDisplayLabel()

Reimplemented from DerivedAttributeImportRules.

Definition at line 47 of file ContactStateAttributeImportRules.php.

getRealModelAttributeNames (  ) 
Returns:
array

Reimplemented from DerivedAttributeImportRules.

Definition at line 55 of file ContactStateAttributeImportRules.php.

static getSanitizerUtilTypesInProcessingOrder (  )  [static]
Returns:
array of sanitizer util names. The sanitizer utils in the array are in the order that they will be processed during the import.

Reimplemented from AttributeImportRules.

Reimplemented in LeadStateAttributeImportRules.

Definition at line 60 of file ContactStateAttributeImportRules.php.

resolveValueForImport ( value,
columnName,
columnMappingData,
ImportSanitizeResultsUtil importSanitizeResultsUtil 
)

Derived attribute import rules need to implement this method individually. Override for each derived atribute import rule and implement as needed.

Parameters:
mixed $value
string $columnName
array $columnMappingData
ImportSanitizeResultsUtil $importSanitizeResultsUtil
Exceptions:
NotImplementedException 

Reimplemented from DerivedAttributeImportRules.

Definition at line 65 of file ContactStateAttributeImportRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 26 07:10:23 2017