Public Member Functions | |
analyzeByRow (RedBean_OODBBean $rowBean) | |
sanitizeValue ($value) | |
Static Public Member Functions | |
static | shouldNotSaveModelOnSanitizingValueFailure () |
Protected Member Functions | |
assertMappingRuleDataIsValid () |
Sanitizer for full name attributes.
Definition at line 40 of file FullNameSanitizerUtil.php.
static shouldNotSaveModelOnSanitizingValueFailure | ( | ) | [static] |
If a full name is invalid, then skip the entire row during import.
Reimplemented from SanitizerUtil.
Definition at line 45 of file FullNameSanitizerUtil.php.
analyzeByRow | ( | RedBean_OODBBean $ | rowBean | ) |
RedBean_OODBBean | $rowBean |
Reimplemented from SanitizerUtil.
Definition at line 53 of file FullNameSanitizerUtil.php.
sanitizeValue | ( | $ | value | ) |
Given a value that is a full name, split the full name into the first and last name parts. Validate that the first and last name are not too large for their attributes. If they are too large or the full name does not valid properly, then an InvalidValueToSanitizeException is thrown.
mixed | $value |
InvalidValueToSanitizeException |
Reimplemented from SanitizerUtil.
Definition at line 92 of file FullNameSanitizerUtil.php.
assertMappingRuleDataIsValid | ( | ) | [protected] |
Override as needed
Reimplemented from SanitizerUtil.
Definition at line 128 of file FullNameSanitizerUtil.php.