• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resuable models

#11
[eluser]solepixel[/eluser]
I thank Chad for this useful advice. The bottom line is extending Models that extend Model was a bit tricky and was what the OP was trying to accomplish, and although Treeda's DB structure may not have been perfect, the issue still remained. And people like me come here to read how to do it myself, and have to go through all this arguing before find the solution.

As I was reading it was saying in my head "Is this how CI people deal with issues? Change your data structure rather than addressing a problem with CI? Wow."

FYI, i'm using a base data model that handles errors, post data, get_one, get_all, defaults etc, and my need a few adjustments based on what data I need to use it with, so I'm extending Module with PageModule or AdModule, so yes, it is necessary.


Messages In This Thread
Resuable models - by El Forum - 08-04-2009, 06:45 AM
Resuable models - by El Forum - 08-04-2009, 07:23 AM
Resuable models - by El Forum - 08-04-2009, 07:28 AM
Resuable models - by El Forum - 08-04-2009, 07:28 AM
Resuable models - by El Forum - 08-04-2009, 07:30 AM
Resuable models - by El Forum - 08-04-2009, 07:37 AM
Resuable models - by El Forum - 08-04-2009, 07:45 AM
Resuable models - by El Forum - 08-04-2009, 10:27 AM
Resuable models - by El Forum - 08-04-2009, 12:05 PM
Resuable models - by El Forum - 08-04-2009, 01:47 PM
Resuable models - by El Forum - 09-07-2009, 04:13 PM
Resuable models - by El Forum - 09-07-2009, 04:35 PM
Resuable models - by El Forum - 09-08-2009, 01:05 AM
Resuable models - by El Forum - 09-08-2009, 04:01 AM
Resuable models - by El Forum - 09-08-2009, 04:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.