XF 2.0 best practice: how to add record in other table within postsave()?

Marcus

Well-known member
I have a table "soup-recipe". In the entity postsave() I want to search for all vegetables in the new added soup and write these vegetables to table "ingredients".

What is the best practice? Do I do this in postsave()? Or is there some kind of "setter" method?
 
Top Bottom