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

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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from SanitizerUtil
 init ()
 
 assertMappingRuleDataIsValid ()
 
- 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 resolving if an attribute is required or not and whether the value is present. Override to handle multi-select drop down type attributes specifically.

Definition at line 41 of file MultiSelectDropDownRequiredSanitizerUtil.php.

Member Function Documentation

sanitizeValue (   $value)

If the attribute specified is required and the value is null, attempt to utilize a default value if it is specified. If it is not specified or the default value specified is not a valid custom field data value, then an InvalidValueToSanitizeException will be thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 56 of file MultiSelectDropDownRequiredSanitizerUtil.php.


The documentation for this class was generated from the following file:
Generated on Fri Feb 28 2020 07:10:55