PHP Class eZ\Publish\Core\FieldType\Validator\EmailAddressValidator

Inheritance: extends eZ\Publish\Core\FieldType\Validator
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$constraints
$constraintsSchema

Méthodes publiques

Méthode Description
validate ( Value $value ) : boolean Perform validation on $value.
validateConstraints ( mixed $constraints ) : mixed

Method Details

validate() public méthode

Will return true when all constraints are matched. If one or more constraints fail, the method will return false. When a check against a constraint has failed, an entry will be added to the $errors array.
public validate ( Value $value ) : boolean
$value eZ\Publish\Core\FieldType\Value
Résultat boolean

validateConstraints() public méthode

public validateConstraints ( mixed $constraints ) : mixed
$constraints mixed
Résultat mixed

Property Details

$constraints protected_oe property

protected $constraints

$constraintsSchema protected_oe property

protected $constraintsSchema