Re: Question about db table structure and its model

2011-09-21 Thread WebbedIT
You woudl create two associations using something like var $belongsTo = array( 'Area1Translation' => array( 'className' => 'Translations', 'foreignKey' => 'item_area1_translationId', 'conditions' => '',

Question about db table structure and its model

2011-09-20 Thread heohni
Hi, I have a table where I have certain content items per row. Together with this content items I have a translation ID per content item. That means I have a table row like this: item_area1 | item_area1_translationId | item_area2 | item_area2_translationId | When I create now my model for this c