Class

NotMatchValidator

class NotMatchValidator implements BasicValidator

A validator for regular expressions.

This validator will return true, when the passed value does not match the regular expression.

If you do want to test if the value matches an expression, you can use the MatchValidator class instead.

Below is an example usage for your Propel xml schema file.

Methods

boolean isValid(ValidatorMap $map, string $str)

Details

at line 69
public boolean isValid(ValidatorMap $map, string $str)

Parameters

ValidatorMap $map A column map object for the column to be validated.
string $str a String to be tested

Return Value

boolean TRUE if valid, error message otherwise

See also

BasicValidator::isValid()