I don't know if this can solve your problem, anyway have a look at
http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships:join-table-associations

With user->Permissions you should get a Doctrine_Collection of
Doctrine_Records .
Creating a new tuple shuld be like:
$userPerm = new UserPermission:
$userPerm->User = new User() (or existing one)
$userPerm->Permission = new Permission() (or existing one)

I'm going to facing this problem next days for a project, so i'm not
really sure if that's right.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

Reply via email to