All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
ContactStateRequiredSanitizerUtil Class Reference
Inheritance diagram for ContactStateRequiredSanitizerUtil:
RequiredSanitizerUtil SanitizerUtil LeadStateRequiredSanitizerUtil

Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

- Static Protected Member Functions inherited from SanitizerUtil
static resolveMappingRuleData ($columnMappingData)
 
- Protected Attributes inherited from SanitizerUtil
 $modelClassName
 
 $attributeName
 
 $analysisMessages = array()
 
 $shouldSkipRow = false
 
 $columnName
 
 $columnMappingData = array()
 
 $mappingRuleData = array()
 
 $importSanitizeResultsUtil
 
 $penultimateModelClassName
 
 $penultimateAttributeName
 
 $explicitReadWriteModelPermissions = null
 

Detailed Description

Sanitizer for handling contact state. These are states that are the starting state or after. Manages if the state is required and the value is present.

Definition at line 41 of file ContactStateRequiredSanitizerUtil.php.

Member Function Documentation

sanitizeValue (   $value)

Contact state is required. If the value provided is null then the sanitizer will attempt use a default value if provided. If this is missing then a InvalidValueToSanitizeException will be thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 55 of file ContactStateRequiredSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 21 2020 07:10:33