Wednesday, October 27, 2010

HABTM

If a User HABTM Groups, is it possible to save multiple Groups which
have multiple users?

Normally when saving multiple Group records:
array(
0 => array(
Group => array()
)
1 => array(
Group => array()
)
)

However, It's not quite the same for a single record with HABTM:
array(
Group => array()
User => array(
0 => array(
)
1 => array(
)
)
)

If anyone has experience with this, that would be great.

Adam

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: