$user->getGroups() or such ? (I don't know propel)

Regards,

Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Mon, Jan 17, 2011 at 11:25 PM, Javier Garcia <[email protected]>wrote:

> I used a join and I get the objects from the exchange table, so if I
> iterate it I get:
>
> user1->group2
> user1->group5
> user2->group1
> user2->group3
> user2->group4
>
> But I'm wondering how could i get the group objects from the user
> objects...
>
>
> On Jan 17, 11:04 pm, Javier Garcia <[email protected]> wrote:
> > Hi,
> >
> > I have a many-to-many relationship between two tables.
> >
> > I would like to show the elements of a table with the corresponding
> > elements of the other table.
> >
> > For example:
> >
> > user1->group2
> >        group5
> > user2->group1
> >        group3
> >        group4
> > ...
> >
> > In an easy and smart way, of course.
> >
> > sf 1.4/propel 1.4.
> >
> > Any advice or tutorial?
> >
> > Javi
>
> --
> 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]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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