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 () | |
getMinimumLength () | |
isAttributeRequired () | |
![]() | |
init () | |
assertMappingRuleDataIsValid () | |
Additional Inherited Members | |
![]() | |
static | resolveMappingRuleData ($columnMappingData) |
![]() | |
$modelClassName | |
$attributeName | |
$analysisMessages = array() | |
$shouldSkipRow = false | |
$columnName | |
$columnMappingData = array() | |
$mappingRuleData = array() | |
$importSanitizeResultsUtil | |
$penultimateModelClassName | |
$penultimateAttributeName | |
$explicitReadWriteModelPermissions = null | |
Sanitizer for resolving whether a value is too short based on an attribute's rules.
Definition at line 40 of file MinimumLengthSanitizerUtil.php.
|
static |
If a model id value is invalid, then skip the entire row during import.
Definition at line 45 of file MinimumLengthSanitizerUtil.php.
analyzeByRow | ( | RedBean_OODBBean | $rowBean | ) |
RedBean_OODBBean | $rowBean |
Definition at line 53 of file MinimumLengthSanitizerUtil.php.
sanitizeValue | ( | $value | ) |
Given a value, resolve that the value not too large for the attribute based on the attribute's type. If the value is too large, then it is truncated.
mixed | $value |
InvalidValueToSanitizeException |
Definition at line 80 of file MinimumLengthSanitizerUtil.php.
|
protected |
Definition at line 102 of file MinimumLengthSanitizerUtil.php.