Public Member Functions | |
analyzeByRow (RedBean_OODBBean $rowBean) | |
sanitizeValue ($value) | |
![]() | |
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 | getType () |
static | getLinkedMappingRuleType () |
static | shouldNotSaveModelOnSanitizingValueFailure () |
Protected Member Functions | |
assertMappingRuleDataIsValid () | |
resolveStates () | |
![]() | |
init () | |
assertMappingRuleDataIsValid () | |
Static Protected Member Functions | |
static | resolvesValidStateByOrder ($stateOrder, $startingOrder) |
![]() | |
static | resolveMappingRuleData ($columnMappingData) |
Additional Inherited Members | |
![]() | |
$modelClassName | |
$attributeName | |
$analysisMessages = array() | |
$shouldSkipRow = false | |
$columnName | |
$columnMappingData = array() | |
$mappingRuleData = array() | |
$importSanitizeResultsUtil | |
$penultimateModelClassName | |
$penultimateAttributeName | |
$explicitReadWriteModelPermissions = null | |
Sanitizer for handling contact state. These are states that are the starting state or after.
Definition at line 40 of file ContactStateSanitizerUtil.php.
|
static |
If a state is invalid, then skip the entire row during import.
Definition at line 45 of file ContactStateSanitizerUtil.php.
analyzeByRow | ( | RedBean_OODBBean | $rowBean | ) |
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.
mixed | $value |
InvalidValueToSanitizeException | |
NotFoundException |
Definition at line 73 of file ContactStateSanitizerUtil.php.