[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:12:13 CEST 2012


hi everybody,

where do you put the following functionality in your extbase extension?

example: after creating a new object/record via frontend form of your 
extbase extension an email should be sent to the admin of the website 
which informs him about the new object/record being saved.

you could add a sendEmailAfterNewObjectIsSaved() method to the domain 
model object class of the object that was created.

is this the right place for this functionality?

kind regards

roland


More information about the TYPO3-project-typo3v4mvc mailing list