PHP Class Bluz\Validator\Rule\Domain

Inheritance: extends AbstractRule
Afficher le fichier Open project: bluzphp/framework Class Usage Examples

Protected Properties

Свойство Type Description
$checkDns check DNS record flag
$template error template

Méthodes publiques

Méthode Description
__construct ( boolean $checkDns = false ) Setup validation rule
validate ( string $input ) : boolean Check input data

Method Details

__construct() public méthode

Setup validation rule
public __construct ( boolean $checkDns = false )
$checkDns boolean

validate() public méthode

Check input data
public validate ( string $input ) : boolean
$input string
Résultat boolean

Property Details

$checkDns protected_oe property

check DNS record flag
protected $checkDns

$template protected_oe property

error template
protected $template