Welcome Guest, Not a member yet? Register   Sign In
best way to do this?
#5

[eluser]wiredesignz[/eluser]
@toopay, The $CI instance does not exist during the call to the pre-controller hook. That's why it is called pre-controller.

@Wondering Coder, Your best option is to use the MY_Controller base class to contain all of your common code. Extend each page controller from the MY_Controller class.


Messages In This Thread
best way to do this? - by El Forum - 04-10-2011, 03:18 AM
best way to do this? - by El Forum - 04-10-2011, 03:20 AM
best way to do this? - by El Forum - 04-10-2011, 07:34 AM
best way to do this? - by El Forum - 04-10-2011, 07:37 AM
best way to do this? - by El Forum - 04-10-2011, 09:51 AM
best way to do this? - by El Forum - 04-10-2011, 10:18 AM
best way to do this? - by El Forum - 04-11-2011, 09:34 PM
best way to do this? - by El Forum - 04-12-2011, 06:35 AM
best way to do this? - by El Forum - 04-12-2011, 10:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB