Welcome Guest, Not a member yet? Register   Sign In

If the parameter is being passed through a URI segment, the only thing you can really go by is the URI. If you're dealing with a relatively limited number of controllers/methods and the webinar_id is in a consistent location in the URI, it's fairly easy to just check the necessary segments and determine whether the value in segment 3 should be a webinar_id (for example, if the first and second segments match the required values). In the end, though, it probably requires a level of knowledge about the controllers/methods being called that really isn't appropriate for a hook.

Whether there might be some other way to do this without altering the methods themselves really depends on the existing code, but it is unlikely.

Messages In This Thread
unlikely... - by Rashid - 12-29-2015, 10:11 AM
RE: unlikely... - by mwhitney - 12-29-2015, 10:30 AM
RE: unlikely... - by Rashid - 12-30-2015, 01:25 AM
RE: unlikely... - by mwhitney - 12-30-2015, 09:14 AM
RE: unlikely... - by cartalot - 12-30-2015, 06:56 PM
RE: unlikely... - by Martin7483 - 12-31-2015, 03:49 AM

Theme © iAndrew 2016 - Forum software by © MyBB