Feature #71

Add Validators for generic base types

Added by Robert Lemke about 12 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Validation
Target version:
-
Start date:
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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

Revision cf097610 (diff)
Added by Andreas Förthner over 11 years ago

This is all work in progress, but a big part of the Validation/Property Package is already finished:

  • Implemented the basic Validation Framework. This fixes #65, #67, #68, #70
  • Implemented some base validators. This fixes #71
  • Implemented a basic Framwework for PropertyEditors

History

#1 Updated by Malte Jansen almost 12 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 almost 12 years ago

  • Target version changed from 1 to 18

#3 Updated by Robert Lemke over 11 years ago

  • Target version deleted (18)

Also available in: Atom PDF