Hi,

In the frontend I have page with a list and a form filter next to it that shows all the users of social network.

I would like to hide the user of the session in that list, so how can i do it?

My first thought is creating a function addXXXXColumnQuery () for each field of the form, and in each one add a line like this:

->andWhere("u.id <> ?", $id)

being $id the ID of the user of the current session. But in that way i find I'm repeating myself...

Any idea?

--
Javi

Ubuntu 8.04 - Symfony 1.3

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

Reply via email to