Method | Description | |
---|---|---|
getInvalidDetails ( ) | ||
isValid ( $value, array $parameters ) |
Method | Description | |
---|---|---|
isValidUnique ( $value, |
Performs the regular unique validation. | |
isValidUniqueMany ( array $value, |
Checks whether the unique constraint is valid for a many-to-many field. |
protected isValidUnique ( $value, |
||
$value | the value to validate | |
$data | the data instance to validate with | |
$entity | the entity of the field | |
$field | the field to validate | |
return | boolean | true if everything is valid |
protected isValidUniqueMany ( array $value, |
||
$value | array | the value to check |
$data | the data to perform the check with | |
$entity | the entity to perform the check on | |
$field | the many field to perform the check on | |
return | boolean | true if it is a valid unique many-to-many constraint |