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

Inheritance: extends eZ\Publish\Core\FieldType\Validator
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$constraints
$constraintsSchema

Public Methods

Method Description
validate ( Value $value ) : boolean Perform validation on $value.
validateConstraints ( $constraints )

Method Details

validate() public method

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
return boolean

validateConstraints() public method

public validateConstraints ( $constraints )

Property Details

$constraints protected_oe property

protected $constraints

$constraintsSchema protected_oe property

protected $constraintsSchema