Zend_Validate_EmailAddress::__construct
Instantiates hostname validator for local use
You can pass a bitfield to determine what types of hostnames are allowed. These bitfields are defined by the ALLOW_* constants in Zend_Validate_Hostname The default is to allow DNS hostnames only
Signature
public function __construct([integer
$allow = Zend_Validate_Hostname::ALLOW_DNS,
[boolean
$validateMx = false,
[Zend_Validate_Hostname
$hostnameValidator = NULL]]] )
Parameters
$allow
— integer- OPTIONAL
$validateMx
— boolean- OPTIONAL
$hostnameValidator
— Zend_Validate_Hostname- OPTIONAL
Returns
- void