天天看點

FOSCommentBundle功能包:啟用投票Step 12: Enable voting

The FOSCommentBundle supports both Doctrine ODM (mongodb) and Doctrine ORM bydefault. However, you must provide a concrete Vote class. Follow the appropriate instructions to set up the classes:

FOSCommentBundle預設支援Doctrine ODM (mongodb) 和 Doctrine ORM 。然而,您必須提供一個具體的Vote類。根據相應的訓示設定類:

<a href="http://firehare.blog.51cto.com/blog/809276/1259408">Doctrine ORM</a>

<a href="http://firehare.blog.51cto.com/blog/809276/1259410">Doctrine ODM (mongodb)</a>

<a href="http://firehare.blog.51cto.com/blog/809276/1259600">Integration with FOSUserBundle</a>

<a href="https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/index.md">Return to the index.</a>

本文轉自 firehare 51CTO部落格,原文連結:http://blog.51cto.com/firehare/1259407,如需轉載請自行聯系原作者