Hey Darren,

just look at what the getForm method is doing internally and mimic the
behavior in your code.

Daniel


On Mar 4, 9:06 am, Darren884 <darren...@gmail.com> wrote:
> Hi guys, I have used generate:module to generate a CRUD module,
> however it does not have getForm() in it like my admin generated
> section. How would I accomodate this?
>
> I am getting my form like:
> $this->form = new CustomerForm($customer);
>
> But how can I do it like I am in my other by calling getForm()? I need
> to use the getForm method and pass options to my form.

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