[RSS Feed/News] Call to protected method in controller A from Controller B?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
For an instance, I'm extending the public Thread controller, and I have this new action actionAppendReply in it.

I want to call setupPostEdit and assertViewablePost protected methods in the public Post controller from the thread controller actionAppendReply as opposed to duplicating the code.

Is this possible?

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom