Feature #69

Feature #12: Validator API

Environment for Predefined validators

Added by Davide Principi over 8 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:04/07/2011
Priority:NormalDue 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

Related to NethServer 6 - Task #240: Group/User name validation CLOSED 06/15/2011
Related to Nethgui - Feature #303: Environment for system validators CLOSED
Related to Nethgui - Feature #478: VALID_HOSTNAME Validator CLOSED 09/14/2011
Related to Nethgui - Feature #513: VALID_DATE and VALID_TIME validators CLOSED 09/23/2011

Associated revisions

Revision 0e5cd4c6
Added by Davide Principi over 8 years ago

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.

Revision f0292f95
Added by Davide Principi over 8 years ago

Refs #69. Added some phpdocs..

Revision aa6215c6
Added by Davide Principi over 8 years ago

Refs #69. Added VALIDATE_ANYTHING validator.

Revision c76a3ab9
Added by Davide Principi over 8 years ago

Refs #69. Added Collection Validator

Revision c250dc0c
Added by Davide Principi over 8 years ago

Refs #69. Added some numeric validators:

  • integer
  • positive
  • negative
  • greatThan
  • lessThan
  • equalTo

Revision 7c1667f1
Added by Davide Principi about 8 years ago

Refs #69. memberof(): no more than 5 members are shown in validation error message.

Revision f59fd7d5
Added by Davide Principi about 8 years ago

Refs #513 #69 #12. Added some validator tests.

Revision 687f2cd8
Added by Davide Principi about 8 years ago

Refs #69. Added BOOLEAN and PORTNUMBER validator shortcuts

History

#1 Updated by Davide Principi over 8 years ago

  • Category set to 2
  • Assignee set to Davide Principi
  • Target version set to Epsilon

#2 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to CLOSED

#3 Updated by Davide Principi over 8 years ago

See commit:64f52a55

Also available in: Atom PDF