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

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 
 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 processing when a full name is required. The part of the full name that is required is the last name. When the full name splits, if it is missing the last name part, then the entire full name value is considered missing.

Definition at line 42 of file FullNameRequiredSanitizerUtil.php.

Member Function Documentation

analyzeByRow ( RedBean_OODBBean  $rowBean)
Parameters
RedBean_OODBBean$rowBean

Definition at line 47 of file FullNameRequiredSanitizerUtil.php.

sanitizeValue (   $value)

Resolves that the value is not null or the value is null and a valid default value is available for the full name. If not, then an InvalidValueToSanitizeException is thrown.

Parameters
mixed$value
Returns
sanitized value
Exceptions
InvalidValueToSanitizeException

Definition at line 63 of file FullNameRequiredSanitizerUtil.php.


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