TYPO3
7.6
|
Public Member Functions | |
isValid ($value) | |
Public Member Functions inherited from AbstractValidator | |
__construct (array $options=array()) | |
validate ($value) | |
getOptions () | |
Protected Attributes | |
$supportedOptions | |
Protected Attributes inherited from AbstractValidator | |
$acceptsEmptyValues = true | |
$supportedOptions = array() | |
$options = array() | |
$result | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractValidator | |
isValid ($value) | |
addError ($message, $code, array $arguments=array(), $title= '') | |
isEmpty ($value) | |
translateErrorMessage ($translateKey, $extensionName, $arguments=array()) | |
Validator for string length.
Definition at line 22 of file StringLengthValidator.php.
isValid | ( | $value | ) |
Checks if the given value is a valid string (or can be cast to a string if an object is given) and its length is between minimum and maximum specified in the validation options.
mixed | $value | The value that should be validated |
\TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException |
Definition at line 42 of file StringLengthValidator.php.
References AbstractValidator\addError(), elseif, and AbstractValidator\translateErrorMessage().
|
protected |
Definition at line 27 of file StringLengthValidator.php.