Sorry for posting an off topic here, I thought this question is good to post here in this sections.
I am making APIs and I have created a separated APIController for it. In order to make all the services centralized , I have linked the services with their functionality developed for desktop website (I am triggering the methords in controllers to make the whole functionality centralized). Now my problem is I have to access functions in CommentModule Extension (CommentController in Comment-Module extenstion). Which is getting on my nerve. Can anyone tell me how can I access it and call its methods from my APIController?
I am not a good expert on yii yet. Plz support your answers with proper code. Thanks.