DedupeSanitizerUtil Class Reference

Inheritance diagram for DedupeSanitizerUtil:
SanitizerUtil EmailDedupeSanitizerUtil FullNameDedupeSanitizerUtil NameDedupeSanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Protected Member Functions

 assertMappingRuleDataIsValid ()
 checkIfRowToBeSkippedAndSetAnalysisMessages ($value)
 getMatchedModels ($value, $pageSize)

Detailed Description

Sanitizer for email duplicate in the records

Definition at line 40 of file DedupeSanitizerUtil.php.


Member Function Documentation

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 45 of file DedupeSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value, attempt to convert the value to a db date format based on the format provided. If the value does not convert properly, meaning the value is not really in the format specified, then a InvalidValueToSanitizeException will be thrown.

Parameters:
mixed $value
Returns:
sanitized value
Exceptions:
InvalidValueToSanitizeException 

Reimplemented from SanitizerUtil.

Definition at line 58 of file DedupeSanitizerUtil.php.

assertMappingRuleDataIsValid (  )  [protected]

Override as needed

Reimplemented from SanitizerUtil.

Definition at line 64 of file DedupeSanitizerUtil.php.

checkIfRowToBeSkippedAndSetAnalysisMessages ( value  )  [protected]

Check if row to be skipped and set the analysis messages based on it

Parameters:
string $value

Definition at line 76 of file DedupeSanitizerUtil.php.

getMatchedModels ( value,
pageSize 
) [protected]

Gets matched models

Parameters:
$value 
int $pageSize
Returns:
array

Reimplemented in EmailDedupeSanitizerUtil, FullNameDedupeSanitizerUtil, and NameDedupeSanitizerUtil.

Definition at line 124 of file DedupeSanitizerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:24 2017