Hello all together, i'm currently developing a checklist application. I got problems linking the models together right now..
I got one Checklist model which belongsTo a User, Language, OperatingSystem, Product. My User hasMany Checklist. Now I want to fetch all User related checklists through the UsersController. So when I do a $this->User->find('first', array ('conditions' => array('id' => $id))); I get only the checklists language_id's, operating_system_id's ... how do i get the Language.name fields? here is the full output: Array ( [User] => Array ( [id] => 1 [name] => Testname [email] => testn...@test.de [created] => 2009-05-15 12:44:30 [modified] => ) [Checklist] => Array ( [0] => Array ( [id] => 1 [user_id] => 1 [language_id] => 2 [operating_system_id] => 1 [product_id] => 1 [component_string] => [created] => 2009-05-15 14:07:16 [modified] => ) [1] => Array ( [id] => 2 [user_id] => 1 [language_id] => 3 [operating_system_id] => 3 [product_id] => 4 [component_string] => [created] => 2009-05-15 14:56:33 [modified] => ) ) ) So long, Andreas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---