|
| __construct () |
|
Function Tokenize($string,
$separator="") Function
OutputDebug($message) Function
GetLine($connection) Function
PutLine($connection, $line)
Function ValidateUsername($username)
Function ValidatePassword($password)
Function ValidateName($name)
Function ValidateTelefon($telefon) | ValidateEmailAddress ($email, $domains= '') |
|
Function Tokenize ($string, $separator="") Function OutputDebug ($message) Function GetLine ($connection) Function PutLine ($connection, $line) Function ValidateUsername ($username) Function ValidatePassword ($password) Function ValidateName ($name) Function ValidateTelefon ($telefon) ValidateEmailAddress |
( |
|
$email, |
|
|
|
$domains = '' |
|
) |
| |
Validates an email adress. If you pass a comma separated list of domains as the second parameter, the email is also validated against this list of domains and the email is only valid if it matches any of the domains.
- Parameters
-
string | $email | Email adress to validate |
string | $domains | Optional comma separated list of valid domains |
- Returns
- bool
$name_regular_expression ='/^[_ a-zA-ZÃ-ÿ\'-]+$/' |
$password_regular_expression ="/^.{8,}\$/" |
$telefon_regular_expression ="/^([0-9 \(\)\\/+_-]*)\$/" |
$username_regular_expression =null |
The documentation for this class was generated from the following file: