Welcome Guest, Not a member yet? Register   Sign In
helper
#1

Hello
I am new to codeginiter4

I cannot see the controller that I am currently in from a helper.

In codeigniter3 I used:
$ CI = & get_instance ();
$ CI-> router-> class;
$ CI-> router-> method;

I don't know how to do it in codeigniter4

Thanks!
Reply


Messages In This Thread
helper - by Llui7 - 12-03-2020, 02:56 AM
RE: helper - by InsiteFX - 12-03-2020, 04:18 AM
RE: helper - by Llui7 - 12-03-2020, 04:28 AM
RE: helper - by sammyskills - 12-03-2020, 06:51 AM
RE: helper - by Llui7 - 12-04-2020, 07:39 AM
RE: helper - by InsiteFX - 12-03-2020, 05:06 PM
RE: helper - by Llui7 - 12-04-2020, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB