PHP Class Neos\Flow\Validation\Validator\LabelValidator

Labels usually allow all kinds of letters, numbers, punctuation marks and the space character. What you don't want in labels though are tabs, new line characters or HTML tags. This validator is for such uses.
Inheritance: extends AbstractValidator
Afficher le fichier Open project: neos/flow-development-collection

Méthodes protégées

Méthode Description
isValid ( mixed $value ) : void The given value is valid if it matches the regular expression specified in PATTERN_VALIDCHARACTERS.

Method Details

isValid() protected méthode

The given value is valid if it matches the regular expression specified in PATTERN_VALIDCHARACTERS.
protected isValid ( mixed $value ) : void
$value mixed The value that should be validated
Résultat void