Feature #71
Add Validators for generic base types
Status: | Resolved | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Andreas Förthner | % Done: | 100% |
|
Category: | Validation | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
The framework should provide a few validators which can handle basic types such as:
- Text (ie. text without control characters. Question is if HTML would be a valid text?)
- Float
- Number
- NumberRange
- Integer
- EmailAddress
- NotEmpty
- RegularExpression
(Maybe create tickets for each of them)
Always make sure to be clear about the difference between filter and validator.
Associated revisions
History
#1 Updated by Malte Jansen over 7 years ago
This one should be missed:
- Alphanumeric
Pretty useful for hashes or other identifications.
Perhaps some of the validators are pretty useful for a direct check of Arguments...
e.g.
$this->arguments->addNewArgument('packageKey', 'alphanumeric');
#2 Updated by Robert Lemke over 7 years ago
- Target version changed from 1 to 18
#3 Updated by Robert Lemke about 7 years ago
- Target version deleted (
18)