I have a need to create a new comment as part of the functionality of a menu item handler. So, essentially, this is a view handler that needs to 'invoke' another view handler.
Logically, I want to use the comment_save functionality to create the new comment so as to reuse the official mechanics for creating a new comment (similarly for deleting a comment). Ideally I would call a jrComment_create_comment() function but this does not exist. The only encapsulation of create mechanics is in the view function.
What approach would be best to create a new comment from another view function?
updated by @tig: 14 Apr 2022 09:57:44AM