[TYPO3-mvc] set validation rules at runtime

Martin Kutschker masi-no at spam-typo3.org
Wed Jun 16 18:25:21 CEST 2010


Thomas Mammitzsch schrieb:
> hi list,
> 
> i'm curious if i can set validation rules for model properties at
> runtime and not by staticly defining them in the phpdoc for the object
> property. Where would i do that? In the Controller?

The controller builds the validation object. So in theory this is the right place. But I have no
idea how is this will be and if you have to start hacking.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list