hi,
> this is fine,but from Model4 I require only 2 fields like Fld1,Fld2.If
> I specify this in following way:
off the cuff, try:
$this->Model1->contain(
'Model2',
'Model2.Model3',
'Model2.Model4'=>array('fields'=>'Model2.Model4.Fld1',
'Model2.Model4.Fld2'),
'Model2.Model5'
);
btw, your original snippet's syntax looks a bit weird, but I've kept
that anyway!
hth
jon
--
jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---