Detailed Description
Class oxMailValidator
Definition at line 6 of file oxmailvalidator.php.
Constructor & Destructor Documentation
oxMailValidator::__construct |
( |
| ) |
|
Set mail validation rule from config. Would use default rule if not defined in config.
Definition at line 42 of file oxmailvalidator.php.
Member Function Documentation
oxMailValidator::getMailValidationRule |
( |
| ) |
|
oxMailValidator::isValidEmail |
( |
|
$sEmail | ) |
|
User email validation function. Returns true if email is OK otherwise - false; Syntax validation is performed only.
- Parameters
-
- Returns
- bool
Definition at line 59 of file oxmailvalidator.php.
oxMailValidator::setMailValidationRule |
( |
|
$sMailValidationRule | ) |
|
Override mail validation rule.
- Parameters
-
string | $sMailValidationRule | mail validation rule |
Definition at line 33 of file oxmailvalidator.php.
Member Data Documentation
oxMailValidator::$_sMailValidationRule = null |
|
private |
The documentation for this class was generated from the following file: