Actually that did not work. This is a flaw in Symfony itself, there is
no way to pass values to the configre() method in the filters class.
This needs to be fixed.

On Jan 14, 12:11 pm, Darren884 <darren...@gmail.com> wrote:
> Hi guys, I had to actually add an argument to the original
> ConfigurationModelGenerator file and mimick the getForm() function to
> pass options. I have no idea why this wasn't implemented in the first
> place but who knows.
>
> On Jan 13, 3:04 pm, Darren884 <darren...@gmail.com> wrote:
>
> > In my form I use the setOptions to pass my user object so I can check
> > the credentials in the form class if I want to display or hide fields,
> > however in the FilterForm class there is no setOptions and class
> > variables do not seem to be shared among functions. How am I to get
> > the user object into my FormFilter class from the action in order to
> > check credentials against it and hide or display fields? Is there a
> > different method in Symfony other than the __construct to get
> > variables?
>
> > Thanks,
> > Darren
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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