[TYPO3-mvc] How to register a custom validator
François Suter
fsu-lists at cobweb.ch
Tue Apr 12 17:15:39 CEST 2011
Hi,
> To be able to use autoloading it HAS to be named:
>
> 'FILE:EXT:Foo/Classes/Validation/Validator/DateValidator.php'
>
> class Tx_Foo_Validation_Validator_DateValidator extends
> Tx_Extbase_Validation_Validator_AbstractValidator {}
Thanks (and to Marc Bastian too). I had not been strict enough. Somehow
I had convinced myself that the last "Validator" was added automatically
(kind of like the view helper names are built).
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-project-typo3v4mvc
mailing list