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
Datei anzeigen Open project: neos/flow-development-collection

Protected Methods

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

Method Details

isValid() protected method

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