• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does MVC work for a page relating to several tables?

#3
[eluser]WanWizard[/eluser]
I read everything, but that doesn't imply I am all-knowing. Would you prefer 50 "I don't know" answers?

In standard CI, controllers can not call other controllers. For that, you would need an HMVC solution. But in this case, I don't see why you should.

But in this case I don't see why you should need this, the logic to retrieve the data should be in the model, either in one of the three, or in all three separate (which would require more controller code).


Messages In This Thread
How does MVC work for a page relating to several tables? - by El Forum - 04-23-2012, 01:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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