Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter4 - Event pass by ???
#6

(10-03-2018, 06:18 AM)dmyers Wrote: kilishan, thank you for your excellent reply and thank you for all of your hardwork on CodeIgniter 4.
What I was getting at with making events  arguments pass by reference was that instead of a simply triggering something like hooks are today. 
Adding the pass by reference would allow other CodeIgniter 4 developers to use events in more of a universal way to modify arguments sent in without the need to download another "events" class to provide this feature.

DMyers

That's a good idea. Something worth looking into.

Not sure what you're using it for, but would Controller Filters help out.
Reply


Messages In This Thread
CodeIgniter4 - Event pass by ??? - by dmyers - 10-01-2018, 08:41 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-02-2018, 06:57 AM
RE: CodeIgniter4 - Event pass by ??? - by falko - 10-02-2018, 01:00 PM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 06:18 AM
RE: CodeIgniter4 - Event pass by ??? - by kilishan - 10-03-2018, 09:32 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 11:43 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 12:38 PM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-08-2018, 07:55 AM
RE: CodeIgniter4 - Event pass by ??? - by abrkof - 01-04-2020, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB