简体   繁体   English

使用Propel在Symfony2中形成?

[英]Forms in Symfony2 with Propel?

I can't seem to find any documentation on Symfony2 forms when using Propel ORM. 在使用Propel ORM时,我似乎无法找到有关Symfony2表单的任何文档。 Is this even supported? 这甚至支持吗? When I run the console API it lists all propel commands and none of them was propel:build-forms . 当我运行控制台API时,它会列出所有推进命令,但它们都不是propel:build-forms Does this mean Propel ORM for Symfony2 does not support forms? 这是否意味着Symfony2的Propel ORM不支持表单?

Forms work on the POPO (Plain Old PHP Objects) level. 表单适用于POPO(普通旧PHP对象)级别。 They have nothing to do with the way you're persisting your model. 它们与您坚持模型的方式无关。

更准确地说,Propel + Symfony2 Forms的工作方式就像一个魅力: http//www.propelorm.org/cookbook/symfony2/mastering-symfony2-forms-with-propel.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM