How do I have a global array in __construct() ? |
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 )
|
Messages In This Thread |
How do I have a global array in __construct() ? - by desbest - 08-03-2017, 05:55 AM
RE: How do I have a global array in __construct() ? - by Martin7483 - 08-03-2017, 06:15 AM
RE: How do I have a global array in __construct() ? - by InsiteFX - 08-03-2017, 08:07 AM
RE: How do I have a global array in __construct() ? - by rtenny - 08-04-2017, 08:51 AM
RE: How do I have a global array in __construct() ? - by desbest - 08-07-2017, 01:05 PM
RE: How do I have a global array in __construct() ? - by jarmen_kell - 08-07-2017, 04:23 PM
|