All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
ContactStateSanitizerUtil Class Reference
Inheritance diagram for ContactStateSanitizerUtil:
SanitizerUtil LeadStateSanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)
- 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 shouldNotSaveModelOnSanitizingValueFailure ()
- Static Public Member Functions inherited from SanitizerUtil
static getType ()
static getLinkedMappingRuleType ()
static shouldNotSaveModelOnSanitizingValueFailure ()

Protected Member Functions

 assertMappingRuleDataIsValid ()
 resolveStates ()
- Protected Member Functions inherited from SanitizerUtil
 init ()
 assertMappingRuleDataIsValid ()

Static Protected Member Functions

static resolvesValidStateByOrder ($stateOrder, $startingOrder)
- Static Protected Member Functions inherited from SanitizerUtil
static resolveMappingRuleData ($columnMappingData)

Additional Inherited Members

- Protected Attributes inherited from SanitizerUtil
 $analysisMessages = array()
 $shouldSkipRow = false
 $columnMappingData = array()
 $mappingRuleData = array()
 $explicitReadWriteModelPermissions = null

Detailed Description

Sanitizer for handling contact state. These are states that are the starting state or after.

Definition at line 40 of file ContactStateSanitizerUtil.php.

Member Function Documentation

static shouldNotSaveModelOnSanitizingValueFailure ( )

If a state is invalid, then skip the entire row during import.

Definition at line 45 of file ContactStateSanitizerUtil.php.

analyzeByRow ( RedBean_OODBBean  $rowBean)

Definition at line 53 of file ContactStateSanitizerUtil.php.

sanitizeValue (   $value)

Given a contact state id, attempt to get and return a contact state object. If the id is invalid, then an InvalidValueToSanitizeException will be thrown.

sanitized value

Definition at line 73 of file ContactStateSanitizerUtil.php.

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