[TYPO3-mvc] Where is the right place for methods like sendEmailAfterNewObjectIsSaved() in your extbase extension?

Roland most.wanted at gmx.at
Mon Jun 25 17:24:23 CEST 2012


> i guess this should then implement t3lib_Singleton and must be
> instantiated in my domain model object (which triggers the sending of
> the email) via Tx_Extbase_Object_ObjectManager? or should it be
> instantiated via dependency injection?

hmm, i think this should all better happen in the controller, shouldn't it?

roland


More information about the TYPO3-project-typo3v4mvc mailing list