CI3 to CI4 Migrations (__construct) |
(05-07-2019, 09:02 PM)Avega Soft Wrote:(04-16-2019, 06:42 AM)kilishan Wrote: You can definitely use the constructor for almost anything you need to. It was purposefully left blank so framework code didn't get in the way of what you needed. Controller filters will be ran either just before running the controller method, or just after. There are still "hooks" in CI4 similar to what you're used to in CI3, but they've been renamed to "Events" now and made more flexible. https://codeigniter4.github.io/CodeIgnit...vents.html |
Messages In This Thread |
CI3 to CI4 Migrations (__construct) - by bartMommens - 04-16-2019, 06:34 AM
RE: CI3 to CI4 Migrations (__construct) - by kilishan - 04-16-2019, 06:42 AM
RE: CI3 to CI4 Migrations (__construct) - by bartMommens - 05-07-2019, 06:27 AM
RE: CI3 to CI4 Migrations (__construct) - by kilishan - 05-07-2019, 06:45 AM
RE: CI3 to CI4 Migrations (__construct) - by Avega Soft - 05-07-2019, 09:02 PM
RE: CI3 to CI4 Migrations (__construct) - by kilishan - 05-08-2019, 07:05 AM
RE: CI3 to CI4 Migrations (__construct) - by Avega Soft - 05-10-2019, 12:12 AM
RE: CI3 to CI4 Migrations (__construct) - by ysarsilmaz - 07-20-2020, 02:19 AM
RE: CI3 to CI4 Migrations (__construct) - by bartMommens - 04-16-2019, 06:55 AM
|