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

[eluser]taewoo[/eluser]
I have a similar issue.
I am creating an abstract class that extends the CI model. My sub-models extend this abstract model (inheriting the methods) with different table name via the constructor

Code:
super('tableName')

PHP is complaining that this generic, abstract model cannot be found (even though it's in the same directory) when a controller tries to load the extended sub-model. Is this a path issue or do I need to go wiredesignz method?


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