Welcome Guest, Not a member yet? Register   Sign In
Extending the default model
#1

[eluser]dieter[/eluser]
Is it possible to extend CI's default Model? I've tried creating an extending MY_Model in app\libraries\ but I get an error saying that the class can't be found. Somewhere else on the forum, I found a hack to solve this problem by adding a require_once in every model, but shouldn't this be handled by CI itself (that's why we use a framework after all). Or am I overseeing something?

Thanks,
Dieter


Messages In This Thread
Extending the default model - by El Forum - 06-11-2008, 03:02 AM
Extending the default model - by El Forum - 06-11-2008, 04:47 AM
Extending the default model - by El Forum - 06-19-2008, 09:06 AM
Extending the default model - by El Forum - 06-21-2008, 03:50 AM
Extending the default model - by El Forum - 06-21-2008, 04:48 AM
Extending the default model - by El Forum - 07-09-2008, 03:36 PM
Extending the default model - by El Forum - 07-09-2008, 03:49 PM
Extending the default model - by El Forum - 07-09-2008, 03:55 PM
Extending the default model - by El Forum - 08-14-2008, 01:29 PM
Extending the default model - by El Forum - 08-14-2008, 02:54 PM
Extending the default model - by El Forum - 08-14-2008, 03:00 PM
Extending the default model - by El Forum - 08-15-2008, 05:17 AM
Extending the default model - by El Forum - 08-15-2008, 12:25 PM
Extending the default model - by El Forum - 08-15-2008, 01:16 PM
Extending the default model - by El Forum - 12-18-2008, 11:32 PM
Extending the default model - by El Forum - 12-19-2008, 02:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB