Feature #70

Implement a Validator Resolver

Added by Robert Lemke almost 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

As a convenience function (eg. in the Property Mapper) we need a resolver which is able to find a validator for the given object. The interface of T3_Framework_Validation_ValidatorResolver could be as simple as:

   public function resolveValidatorName($targetObject);
   public function resolveValidator($targetObject);

the first method returns the component name (or NULL if no validator could be found) and the second method returns an actual validator object.

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 Robert Lemke almost 12 years ago

  • Target version changed from 1 to 18

#2 Updated by Robert Lemke over 11 years ago

  • Target version deleted (18)

Also available in: Atom PDF