All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Member Functions
IdAttributeImportRules Class Reference
Inheritance diagram for IdAttributeImportRules:
NonDerivedAttributeImportRules AttributeImportRules

Public Member Functions

 __construct ($model, $attributeName)
 
 getDisplayLabel ()
 
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)
 
- Public Member Functions inherited from NonDerivedAttributeImportRules
 __construct ($model, $attributeName, $explicitReadWriteModelPermissions=null)
 
 getDisplayLabel ()
 
 getModelAttributeName ()
 
 getRealModelAttributeNames ()
 
 resolveValueForImport ($value, $columnName, $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil)
 
 getPenultimateModelClassName ()
 
 setPenultimateModelClassName ($penultimateModelClassName)
 
 getPenultimateAttributeName ()
 
 setPenultimateAttributeName ($penultimateAttributeName)
 
- Public Member Functions inherited from AttributeImportRules
 __construct ($model, $explicitReadWriteModelPermissions=null)
 
 getModelClassName ()
 
 getExplicitReadWriteModelPermissions ()
 
 getRealModelAttributeNames ()
 
 getDisplayLabelByAttributeName ($attributeName)
 

Static Public Member Functions

static getSanitizerUtilTypesInProcessingOrder ()
 
- Static Public Member Functions inherited from AttributeImportRules
static getType ()
 
static getModelAttributeMappingRuleFormTypesAndElementTypes ($type)
 
static getSanitizerUtilTypesInProcessingOrder ()
 
static getExtraColumnUsableCountOfModelAttributeMappingRuleFormTypesAndElementTypes ()
 

Static Protected Member Functions

static getImportColumnOnlyModelAttributeMappingRuleFormTypesAndElementTypes ()
 
- Static Protected Member Functions inherited from AttributeImportRules
static getAllModelAttributeMappingRuleFormTypesAndElementTypes ()
 
static getExtraColumnOnlyModelAttributeMappingRuleFormTypesAndElementTypes ()
 
static getImportColumnOnlyModelAttributeMappingRuleFormTypesAndElementTypes ()
 

Additional Inherited Members

- Protected Attributes inherited from NonDerivedAttributeImportRules
 $attributeName
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
- Protected Attributes inherited from AttributeImportRules
 $model
 
 $explicitReadWriteModelPermissions = null
 

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

resolveValueForImport (   $value,
  $columnName,
  $columnMappingData,
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
NonDerivedAttributeImportRules::resolveValueForImport()

Definition at line 70 of file IdAttributeImportRules.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:49