Welcome Guest, Not a member yet? Register   Sign In
Double loaded helpers?
#1

Hello!

This time, I have only a technical question ;-)

In some cases, it would be nice to use a helper in the constructor of a controller. Like the cookie-helper in my latest case. To do so, I load it. But I also load it in BaseController to use it in other controller.

So my question is: Is the helper in that case double loaded or does CI ignore another try to load it?

The same with model. If I load a mode two times, it it two times in the memory or only once?
Reply


Messages In This Thread
Double loaded helpers? - by sprhld - 02-05-2022, 07:34 AM
RE: Double loaded helpers? - by iRedds - 02-05-2022, 08:03 AM
RE: Double loaded helpers? - by sprhld - 02-14-2022, 11:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB