Welcome Guest, Not a member yet? Register   Sign In
Passing Controller name and function
#1

[eluser]R_Nelson[/eluser]
I want to be able to pass the controller name and the function it is gona run to my log program.

anyone know how i can do this:-)
#2

[eluser]rogierb[/eluser]
take a look at hooks in the userguide

I use a post-controller hooks to do some logging.
#3

[eluser]PhilTem[/eluser]
These are some possible places to put it (besides a post-controller hook):

- MY_Controller::__construct()
- MY_Controller::__destruct()
- MY_Output:Confusedet_output()




Theme © iAndrew 2016 - Forum software by © MyBB