Public Member Functions | Private Attributes

oxMailValidator Class Reference

List of all members.

Public Member Functions

 getMailValidationRule ()
 setMailValidationRule ($sMailValidationRule)
 __construct ()
 isValidEmail ($sEmail)

Private Attributes

 $_sMailValidationRule = null

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

Get mail validation rule.


Definition at line 19 of file oxmailvalidator.php.

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.

Member Data Documentation

oxMailValidator.$_sMailValidationRule = null [private]

Definition at line 12 of file oxmailvalidator.php.

The documentation for this class was generated from the following file: