Tommi Gustafsson
Member
Hello!
I am trying to do some post processing on XFRM uploads (in an addon), and so far I have found onNewAttachment event in XF\Attachment\AbstractHandler.
Is this the best place to add my own code for post processing?
How I should exactly subscribe to this onNewAttachment event?
Should I extend the class in my addon and override this method?
Best regards and thanks for all help,
Tommi
I am trying to do some post processing on XFRM uploads (in an addon), and so far I have found onNewAttachment event in XF\Attachment\AbstractHandler.
Is this the best place to add my own code for post processing?
How I should exactly subscribe to this onNewAttachment event?
Should I extend the class in my addon and override this method?
Best regards and thanks for all help,
Tommi