EmailSanitizerUtil Class Reference

Inheritance diagram for EmailSanitizerUtil:

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  ) 
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.

mixed $value
sanitized value

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 Apr 20 07:10:22 2018