Welcome Guest, Not a member yet? Register   Sign In
How do I pass a reference of the controller to a hook?
#1

[eluser]natanv[/eluser]
Hi,

I would like to write a hook that automatically modifies/adds a few controller object properties on the "post_controller_constructor" or "controller_constructor" event but I'm not sure how I would pass a reference to the controller from the application/config/hooks.php page. Any help would be appreciated!

Thanks,
Natan




Theme © iAndrew 2016 - Forum software by © MyBB