Feature #69
Feature #12: Validator API
Environment for Predefined validators
Status: | CLOSED | Start date: | 04/07/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Epsilon | |||
Resolution: | NEEDINFO: |
Description
Prepare an environment where predefined validators have to be implemented.
Related issues
Associated revisions
Refs #69. Added createValidatorFromInteger()
method.
Decodes an integer to a properly initialized validator object.
To create a new predefined validator:
If the method is also missing from NethGui_Core_Validator
class
implement it by adding the method and the corresponding eval*
function.
Refs #69. Added some phpdocs..
Refs #69. Added VALIDATE_ANYTHING validator.
Refs #69. Added Collection Validator
Refs #69. Added some numeric validators:
integer
positive
negative
greatThan
lessThan
equalTo
Refs #69. memberof(): no more than 5 members are shown in validation error message.
Refs #69. Added BOOLEAN and PORTNUMBER validator shortcuts
History
#1 Updated by Davide Principi over 10 years ago
- Category set to 2
- Assignee set to Davide Principi
- Target version set to Epsilon
#2 Updated by Davide Principi over 10 years ago
- Status changed from ON_DEV to CLOSED
#3 Updated by Davide Principi over 10 years ago
See commit:64f52a55