[TYPO3-mvc] Accesssing other properties during validation
Barbara Schwarz
barbara at yejj.com
Tue Jan 19 11:17:07 CET 2010
Hi,
How can I call this kind of validator from the FooController? If I put
the @validate annotation in front of an action, what's the syntax I have
to use?
Thanks,
Barbara
Sebastian Kurfürst wrote:
> Hi,
>
> you could create a domain validator which validates *the whole model
> object* - as this one gets passed the whole object.
>
> For a model Domain/Model/Foo.php just place the validator into
> Domain/Validator/FooValidator.php.
>
> Greets,
> Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list