Welcome Guest, Not a member yet? Register   Sign In
How do I have a global array in __construct() ?
#3

As @Martin7483 say's use models, think of the Controller as a switching station.


Also I find it best to use CodeIgniter's autoload to load the sessions and url helper
if you are using them all the time.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How do I have a global array in __construct() ? - by InsiteFX - 08-03-2017, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB