> Person hasMany Shift and Shift belongsTo Area.
>
> When I do a find() on Person, I get the shifts, and also the area for
> each shift. That's cool, but many of the shifts are from the same area
> and in that case I have the same area data listed many times. Is this
> not a big deal, or is there some other way, like have a separate array
> of areas (but only those areas who's shifts the person has)?

http://book.cakephp.org/view/474/Containable


-- 
jon bennett - www.jben.net - blog.jben.net

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to