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

Roland most.wanted at gmx.at
Mon Jun 25 16:48:51 CEST 2012


hi bastian,

thanks for your answer.

 > Instead you could create a NotificationService

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?

kind regards.

roland


More information about the TYPO3-project-typo3v4mvc mailing list