Welcome Guest, Not a member yet? Register   Sign In
Replicating an include page
#1

[eluser]rossmurphy[/eluser]
I have a controller that gets data from models then displays in view. I am trying to replicate a debug function that displays debug information if a user has toggle the function on. This true or false value is sent in the uri as toggleDebug=true.

How would, and where would i create the debug page so that it can be simple included in the controller (or not) depending on whether the user has set this to true or false?
#2

[eluser]TheFuzzy0ne[/eluser]
Have a look at the profiler class for inspiration, since it adds useful information to the bottom of the page automatically when activated.




Theme © iAndrew 2016 - Forum software by © MyBB