IdAttributeImportRules Class Reference

Inheritance diagram for IdAttributeImportRules:
NonDerivedAttributeImportRules AttributeImportRules

Public Member Functions

 __construct ($model, $attributeName)
 getDisplayLabel ()
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)

Static Public Member Functions

static getSanitizerUtilTypesInProcessingOrder ()

Static Protected Member Functions

static getImportColumnOnlyModelAttributeMappingRuleFormTypesAndElementTypes ()

Detailed Description

Import rules for any attributes that are id. This would be referencing the model id.

Definition at line 40 of file IdAttributeImportRules.php.

Member Function Documentation

static getImportColumnOnlyModelAttributeMappingRuleFormTypesAndElementTypes (  )  [static, protected]

Override to place mapping rule forms / elements that are only for mapping actual import columns.

Reimplemented from AttributeImportRules.

Definition at line 48 of file IdAttributeImportRules.php.

static getSanitizerUtilTypesInProcessingOrder (  )  [static]
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.

Definition at line 59 of file IdAttributeImportRules.php.

resolveValueForImport ( value,
ImportSanitizeResultsUtil importSanitizeResultsUtil 

Given an 'id' value, sanitize this value based on the id being either a zurmo model id or an external system id. This methods requires that there is only one sanitizer type to process. (non-PHPdoc)

See also:

Reimplemented from NonDerivedAttributeImportRules.

Definition at line 70 of file IdAttributeImportRules.php.

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