Public Member Functions | |
getMailValidationRule () | |
setMailValidationRule ($sMailValidationRule) | |
__construct () | |
isValidEmail ($sEmail) | |
Private Attributes | |
$_sMailValidationRule = null |
Class oxMailValidator
Definition at line 6 of file oxmailvalidator.php.
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.
oxMailValidator.getMailValidationRule | ( | ) |
oxMailValidator.isValidEmail | ( | $ | sEmail | ) |
User email validation function. Returns true if email is OK otherwise - false; Syntax validation is performed only.
string | $sEmail user email |
Definition at line 59 of file oxmailvalidator.php.
oxMailValidator.setMailValidationRule | ( | $ | sMailValidationRule | ) |
Override mail validation rule.
string | $sMailValidationRule mail validation rule |
Definition at line 33 of file oxmailvalidator.php.
oxMailValidator.$_sMailValidationRule = null [private] |
Definition at line 12 of file oxmailvalidator.php.