FOSCommentBundle功能包:啓用投票

Step 12: Enable voting

Setup Classes(設置類)

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類。根據相應的指示設置類:

Integration with fosuserbundle(與FOSUserBundle功能包集成)

That is it!

Return to the index.

返回到指南索引頁


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章