FOSCommentBundle功能包:创建您的评论类和线索类

  • 原文出处:2-create_your_comment_and_thread_classes.md

  • 原文作者:FriendsOfSymfony

  • 授权许可:创作共用协议

  • 翻译人员:FireHare

  • 校对人员:

  • 适用版本:FOSCommentBundle 2.0.5

  • 文章状态:草译阶段

Step 2: Create your Comment and Thread classes

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

FOSCommentBundle缺省支持Doctrine ODM(mongodb)和Doctrine ORM。然而,您必须提供具体的评论类和线索类。按照相应的说明来设置类:

  • Doctrine ORM

  • Doctrine ODM (mongodb)

Continue to the next step!(继续下一步)

When you're done. Continue with importing the routing:

当您完成后,继续实现路由:

Step 3: Importing FOSCommentBundle routing.

第3步:实现FOSCommentBundle路由。


你可能感兴趣的:(symfony2,创建评论类和线索类,功能包)