Hi, In my cake app I have :
User hasOne Profile HasAndBelongsToMany Card When I find a user, I get this array : array( > 'User' => array( > 'password' => '*****', > 'id' => '1', > 'email' => '*******', > 'username' => '******', > ), > 'Profile' => array( > 'id' => '1', > 'user_id' => '1', > 'background' => 'galaxy.png', > 'modified' => '2012-05-12 15:09:59' > ) > ) > > When I find a profile I got this array : array( 'Profile' => array( 'id' => '1', 'user_id' => '1', 'background' => 'http://pierrebozon.com/galaxy.png', 'modified' => '2012-05-12 15:09:59' ), 'User' => array( 'password' => '*****', 'id' => '1', 'username' => '*****', 'created' => '2012-05-08 00:00:00' ), 'Card' => array( (int) 0 => array( 'id' => '1', 'label' => '', 'LicensesProfile' => array( 'id' => '1', 'profile_id' => '1', 'Card_id' => '1' ) ) ) > ) How can I get Card info from the User view ? I mean something like this : array( 'User' => array( 'password' => '*****', 'id' => '1', 'email' => '*******', 'username' => '******', ), 'Profile' => array( 'id' => '1', 'user_id' => '1', 'background' => 'galaxy.png', 'modified' => '2012-05-12 15:09:59' 'Card' => array( 'id' => '1 ' etc ) ) ) Thanks a lot ! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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