[RSS Feed/News] Access em from within a Repository

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Long story short, I want to perform an action any time the sendModeratorActionAlert() method is called on the Post repository. The most logical way to do this, I think, is via a Class Extension. So I have set that up and it's executing fine.

The wall I'm hitting right now is that I want to perform an action on a third-party add-on's Entity. Since this isn't in a controller, I can't call $this->em() and I'm banging my head against a wall trying to figure out how to instantiate it so that I...

Read more

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