[TYPO3-mvc] How to use FrontendUserGroup ?

Armin Rüdiger Vieweg info at professorweb.de
Sat Mar 19 13:08:11 CET 2011


> Hi Armin,
>
> I thought using DI for Models did not work yet
> (http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dependency_Injection_(DI))
> ? How do you get it to work like that in your example?

Hi Felix,

my example doesn't inject models - it injects a repository.
And I don't use it inside of a model, I've used it inside of a controller.

I don't work with the latest git version, so I don't have support for DI  
in models too ;-)

Best regards
Armin


More information about the TYPO3-project-typo3v4mvc mailing list