有没有Master/Detail symfony2的例子?我试图将多个产品添加到一个类别中,所有这些都来自一个表单,但我无法在控制器中获得父id来持久化数据。
看一下:http://tutorial.symblog.co.uk/docs/extending-the-model-blog-comments.html#the-controller
我想这正是你需要的。
有没有Master/Detail symfony2的例子?我试图将多个产品添加到一个类别中,所有这些都来自一个表单,但我无法在控制器中获得父id来持久化数据。
看一下:http://tutorial.symblog.co.uk/docs/extending-the-model-blog-comments.html#the-controller
我想这正是你需要的。
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium