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 <[email protected]> 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 [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.
