Welcome Guest, Not a member yet? Register   Sign In
Difficulty understanding how to code up a webpage
#5

[eluser]sophistry[/eluser]
To get vars into multiple controllers you could:

do it the pure OOP way - extend the CI controller with a master controller that is then extended by all of your controllers, use $this->load->vars() in the master.

do it with CI hooks - load your vars via a library called by a pre controller hook.

just 2 quick ideas. maybe someone has other ways? CI has lots of ways - that's what makes it fun and challenging to find the right one for where you are at programming-skill-wise and application-complexity-wise.


Messages In This Thread
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 10:23 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 10:50 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-08-2007, 12:52 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-09-2007, 04:36 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-09-2007, 09:04 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-11-2007, 12:59 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-11-2007, 07:07 PM
Difficulty understanding how to code up a webpage - by El Forum - 08-12-2007, 02:23 AM
Difficulty understanding how to code up a webpage - by El Forum - 08-12-2007, 02:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB