Zend_Validate_Hostname::setValidateTld
Set whether the TLD element of a hostname is validated
This only applies when DNS hostnames are validated
Signature
public function setValidateTld(boolean
$allowed )
Parameters
$allowed
— boolean- Set allowed to true to validate TLDs, and false to not validate them