EmailSanitizerUtil Class Reference

Inheritance diagram for EmailSanitizerUtil:
SanitizerUtil

Public Member Functions

 analyzeByRow (RedBean_OODBBean $rowBean)
 sanitizeValue ($value)

Static Public Member Functions

static shouldNotSaveModelOnSanitizingValueFailure ()

Protected Member Functions

 resolveValidatedEmail ($email)

Detailed Description

Sanitizer for email attributes.

Definition at line 40 of file EmailSanitizerUtil.php.


Member Function Documentation

static shouldNotSaveModelOnSanitizingValueFailure (  )  [static]

If an email value is invalid, then skip the entire row during import.

Reimplemented from SanitizerUtil.

Definition at line 45 of file EmailSanitizerUtil.php.

analyzeByRow ( RedBean_OODBBean $  rowBean  ) 
Parameters:
RedBean_OODBBean $rowBean

Reimplemented from SanitizerUtil.

Definition at line 53 of file EmailSanitizerUtil.php.

sanitizeValue ( value  ) 

Given a value, resolve that the value is a correctly formatted email address. If not, an InvalidValueToSanitizeException is thrown.

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

Reimplemented from SanitizerUtil.

Definition at line 83 of file EmailSanitizerUtil.php.


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