PHP Class Redaxscript\Validator\Dns

Since: 2.2.0
Author: Henry Ruhs
Author: Sven Weingartner
Inheritance: implements Redaxscript\Validator\ValidatorInterface
Afficher le fichier Open project: redaxmedia/redaxscript Class Usage Examples

Méthodes publiques

Méthode Description
validate ( string $host = null, string $type = 'A' ) : integer validate the dns

Method Details

validate() public méthode

validate the dns
Since: 2.2.0
public validate ( string $host = null, string $type = 'A' ) : integer
$host string host of the domain
$type string optional domain type
Résultat integer