Welcome Guest, Not a member yet? Register   Sign In
back to basics
#1

(This post was last modified: 11-13-2021, 01:14 PM by richb201.)

Whenever I try to go to a new function in my controller, index() reruns. In index() I am calling $this->report_generator_amazing() which displays my dashboard. Could this be the reason I can't seem to display anything but the dashboard? I don't think it worked this way when I was using my local apache, but I could be wrong. Besides showing my dashboard, there is a function call in index() that downloads some images from s3. I really only want to do this once. 

So, can someone tell me, does _init() run every time I go to a new method in my controller? I am just getting confused.....

How can I get index not to run EVERY time?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
back to basics - by richb201 - 11-13-2021, 11:30 AM
RE: back to basics - by includebeer - 11-15-2021, 03:17 PM
RE: back to basics - by richb201 - 11-16-2021, 03:54 AM
RE: back to basics - by includebeer - 11-16-2021, 04:55 AM
RE: back to basics - by richb201 - 11-16-2021, 05:31 AM
RE: back to basics - by includebeer - 11-17-2021, 06:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB