PHP Class Bluz\Validator\Rule\Email

Inheritance: extends AbstractRule
Mostrar archivo Open project: bluzphp/framework Class Usage Examples

Protected Properties

Property Type Description
$checkDns check DNS record flag
$template error template

Public Methods

Method Description
__construct ( boolean $checkDns = false ) Setup validation rule
validate ( mixed $input ) : boolean Check input data

Method Details

__construct() public method

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

validate() public method

Check input data
public validate ( mixed $input ) : boolean
$input mixed
return boolean

Property Details

$checkDns protected_oe property

check DNS record flag
protected $checkDns

$template protected_oe property

error template
protected $template