PHP Class Neos\Flow\Validation\Validator\TextValidator

Inheritance: extends AbstractValidator
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Methods

Method Description
isValid ( mixed $value ) : void Checks if the given value is a valid text (contains no XML tags).

Method Details

isValid() protected method

Be aware that the value of this check entirely depends on the output context. The validated text is not expected to be secure in every circumstance, if you want to be sure of that, use a customized regular expression or filter on output. See http://php.net/filter_var for details.
protected isValid ( mixed $value ) : void
$value mixed The value that should be validated
return void