[TYPO3-mvc] @validate in Domain Object

Jochen Rau jochen.rau at typoplanet.de
Mon Nov 30 17:15:00 CET 2009


Hi.

Steffen Ritter wrote:
> Hey,
> whats the right syntax for using validators with the @ validate
> annotation in the DomainObject.
> As example i would like to check the following
>
> Alphanumeric and StringLength(5-10)

  * @validate Alphanumeric, StringLength(minimum=5, maximum=10)

Regards
Jochen


-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list