I think that what you want is the fields element in the Album model's
association array for Image, something like:

$hasMany = array ('Image' => array ('fields' => array
('Image.name','Image.id')))

I don't remember exactly if you need the 'Image.' part or not...

You can dynamically change this via the bindModel and unBindModel methods of
the Model.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to