Hello,
I have a product inventory extension I developed and am starting the process to completely re-write it.
The idea came to me to break it into two extensions.
Currently I run the update script via cron. I see some times where I would wish to check for a certain result, and then call the 2nd extension AND other times where the 2nd extension would be called on its own.
Is it possible for the proverbial "last line" of the controller to kick off the other extension?
Thank you,
Mike
You could end with a redirect if your cron follows them. You could use $this->load->controller to load another controller, the same was the header, footer, etc are loaded in most controllers. You could put the common code into a model or library and call that from the controllers.
Who is online
Users browsing this forum: No registered users and 1 guest