FullNameRequiredSanitizerUtil Class Reference

Inheritance diagram for FullNameRequiredSanitizerUtil:
RequiredSanitizerUtil SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Static Public Member Functions

static getLinkedMappingRuleType ()

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

Reimplemented from RequiredSanitizerUtil.

Definition at line 47 of file FullNameRequiredSanitizerUtil.php.

static getLinkedMappingRuleType (  )  [static]
Returns:
string - the type of linked mapping rule or null if none available. Some sanitizers and data analyzers need information from a mapping rule form in order to perform their job. This method returns the type of mapping rule form.

Reimplemented from RequiredSanitizerUtil.

Definition at line 51 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 

Reimplemented from RequiredSanitizerUtil.

Definition at line 63 of file FullNameRequiredSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun May 28 07:10:25 2017