Welcome Guest, Not a member yet? Register   Sign In
define Events on custom Controllers
#1

is there a way to use Events only for specific Controllers?

nothing in the documentation: https://codeigniter.com/user_guide/exten...vents.html

CI3 had really better User Guide than CI4
Reply
#2

In what context are you using it? I mean would the Events be triggered by the controller?
Reply
#3

With specific Controller, you can write one or more functions in helper and call any where in your Controller as an trigger.
For app you can use system Events.

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply




Theme © iAndrew 2016 - Forum software by © MyBB