HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Getting protected info from Sender object. DEMystification help assist needed.
-
Re: Getting protected info from Sender object. DEMystification help assist needed.
the php code in a simple plugin is this the data I want is floating around in the Sender object. I just want to pull the user info without doing a separate sql call or switching the vent or caching it and retrieving it. public function DiscussionController_AfterCommentBody_Handler($Sender) { //this produces the above… -
Re: Getting protected info from Sender object. DEMystification help assist needed.
In any case, you need to determine if you need to (1) only retrieve and make a copy of the "MysteryVariable" or (2) modify the "MysteryVariable" by reference so that any other code that has access to $Sender->DiscussionModel->Database will see any changes you made to the "MysteryVariable." A solution to this problem is to…
3 results