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 | Static Public Member Functions | Protected Member Functions | Protected Attributes
IdValueTypeSanitizerUtil Class Reference
Inheritance diagram for IdValueTypeSanitizerUtil:
ExternalSystemIdSuppportedSanitizerUtil SanitizerUtil ModelDerivedIdValueTypeSanitizerUtil ModelIdValueTypeSanitizerUtil RelatedModelNameOrIdValueTypeSanitizerUtil SelfIdValueTypeSanitizerUtil AccountDerivedIdValueTypeSanitizerUtil ContactDerivedIdValueTypeSanitizerUtil ImportModelTestItem3DerivedIdValueTypeSanitizerUtil OpportunityDerivedIdValueTypeSanitizerUtil RoleValueTypeSanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 
- Public Member Functions inherited from SanitizerUtil
 sanitizeValue ($value)
 
 analyzeByRow (RedBean_OODBBean $rowBean)
 
 __construct ($modelClassName, $attributeName, $columnName, array $columnMappingData, ImportSanitizeResultsUtil $importSanitizeResultsUtil=null, $penultimateModelClassName, $penultimateAttributeName, $explicitReadWriteModelPermissions=null)
 
 shouldSanitizeValue ()
 
 getAnalysisMessages ()
 
 getShouldSkipRow ()
 

Static Public Member Functions

static getLinkedMappingRuleType ()
 
static shouldNotSaveModelOnSanitizingValueFailure ()
 
- Static Public Member Functions inherited from ExternalSystemIdSuppportedSanitizerUtil
static getModelByExternalSystemIdAndModelClassName ($id, $modelClassName)
 
- Static Public Member Functions inherited from SanitizerUtil
static getType ()
 
static getLinkedMappingRuleType ()
 
static shouldNotSaveModelOnSanitizingValueFailure ()
 

Protected Member Functions

 resolveFindingModelDuringAnalysis ($found, RedBean_OODBBean $rowBean)
 
 resolveExternalSystemIdValueIsTooLong (RedBean_OODBBean $rowBean)
 
 resolveForUnfoundModel (RedBean_OODBBean $rowBean)
 
 ensureTypeValueIsValid ($type)
 
 assertMappingRuleDataIsValid ()
 
 resolveMappingRuleDataType ()
 
 init ()
 
- Protected Member Functions inherited from ExternalSystemIdSuppportedSanitizerUtil
 resolveFoundIdByValue ($value)
 
 resolveAttributeModelClassName (RedBeanModel $model, $attributeName)
 
 resolveForFoundModel ()
 
 resolveFoundExternalSystemIdByValue ($value)
 
- Protected Member Functions inherited from SanitizerUtil
 init ()
 
 assertMappingRuleDataIsValid ()
 

Protected Attributes

 $type
 
- Protected Attributes inherited from ExternalSystemIdSuppportedSanitizerUtil
 $externalSystemIdMaxLength = 40
 
 $attributeModelClassName
 
- Protected Attributes inherited from SanitizerUtil
 $modelClassName
 
 $attributeName
 
 $analysisMessages = array()
 
 $shouldSkipRow = false
 
 $columnName
 
 $columnMappingData = array()
 
 $mappingRuleData = array()
 
 $importSanitizeResultsUtil
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
 $explicitReadWriteModelPermissions = null
 

Additional Inherited Members

- Static Protected Member Functions inherited from SanitizerUtil
static resolveMappingRuleData ($columnMappingData)
 

Detailed Description

Sanitizer for attributes that are models, and handling the values that represent the ids of those models. If you are importing a related account on a contact, this would be used for the account id, not the contact id. To sanitize for the contact id in this example, you would use

See Also
SelfIdValueTypeSanitizerUtil

Data analyzer for columns mapped to attributes that are either ids or relation ids. For importing ids, there are several approved value types including a zurmo model id as well as an external system id that can be used to maintain key integerity during the entirety of a data import.

Definition at line 46 of file IdValueTypeSanitizerUtil.php.

Member Function Documentation

static shouldNotSaveModelOnSanitizingValueFailure ( )
static

If a model id value is invalid, then skip the entire row during import.

Definition at line 63 of file IdValueTypeSanitizerUtil.php.

analyzeByRow ( RedBean_OODBBean  $rowBean)
Parameters
RedBean_OODBBean$rowBean

Definition at line 71 of file IdValueTypeSanitizerUtil.php.

ensureTypeValueIsValid (   $type)
protected

Ensure the type is an accepted type.

Parameters
unknown_typeinteger

Definition at line 129 of file IdValueTypeSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Sat Oct 24 2020 07:10:50
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.