Re: Multiple tables output at one View

2010-08-14 Thread Jeremy Burns | Class Outfit
You relate models together with $hasOne, $hasMany and $hasAndBelongsToMany, and then you can do joins within your finds. http://book.cakephp.org/view/1039/Associations-Linking-Models-Together I'd also recommend adopting the Containable behaviour. It'll make your life a lot easier. http://book.c

Multiple tables output at one View

2010-08-14 Thread tony mak
I have just learnt cakephp. If I do not misunderstand the tutorial, one model represents one table in database and each controller controls one model which means one table. And one view for one controller to layout the webpage. Then, if my view(webpage) need to have data from more than one table, w