CodeIgniter Forums
Structure of models - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Structure of models (/showthread.php?tid=58440)

Structure of models - El Forum - 06-12-2013


i have a page model. There are all things i use on the website (navigation, title, metatags...)
Now i want to display testimonials from customers on many pages.

Should i create a new model for the testimonials or can i include this stuff within the page model?

The pages-table contains a column where i can set the id of the testimonial shown on this page.