public static validate_email ( string $text, |
||
$text | string | A string to test if it is a valid Email Address |
$control | The control that defines the value | |
$form | The container that holds the control | |
$warning | string | An optional error message |
Результат | array | An empty array if the string is a valid Email Address, or an array with strings describing the errors |