PHP Class Neos\Flow\Validation\Validator\TextValidator

Inheritance: extends AbstractValidator
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Méthodes protégées

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

Method Details

isValid() protected méthode

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
Résultat void