Author: khiramatsu Date: 2010-04-21 19:19:43 +0200 (Wed, 21 Apr 2010) New Revision: 29230
Modified: plugins/sfSimpleCommentPlugin/README Log: fixed README Modified: plugins/sfSimpleCommentPlugin/README =================================================================== --- plugins/sfSimpleCommentPlugin/README 2010-04-21 14:30:34 UTC (rev 29229) +++ plugins/sfSimpleCommentPlugin/README 2010-04-21 17:19:43 UTC (rev 29230) @@ -67,20 +67,20 @@ For each commentable type you can add comment inherited class in project `scheme.yml`. That will make commenting more strict on code level and gives you possibilty to set default `object_type` value if you are creating comments out of the default sfSimpleComment module. From other point of view that gives you ability to set neat alias' between commentable type and comment model in doctrine: - ArticleComment: - inheritance: - extends: sfSimpleComment - type: column_aggregation - keyField: object_type - keyValue: Article - relations: - Article: - local: object_id - foreign: id - type: one - foreignType: many - onDelete: CASCADE - foreignAlias: Comments - alias: Article + ArticleComment: + inheritance: + extends: sfSimpleComment + type: column_aggregation + keyField: object_type + keyValue: Article + relations: + Article: + local: object_id + foreign: id + type: one + foreignType: many + onDelete: CASCADE + foreignAlias: Comments + alias: Article -- You received this message because you are subscribed to the Google Groups "symfony SVN" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-svn?hl=en.
