Author: khiramatsu
Date: 2010-04-20 18:41:07 +0200 (Tue, 20 Apr 2010)
New Revision: 29224

Modified:
   plugins/sfSimpleCommentPlugin/README
Log:
fixed README

Modified: plugins/sfSimpleCommentPlugin/README
===================================================================
--- plugins/sfSimpleCommentPlugin/README        2010-04-20 14:34:03 UTC (rev 
29223)
+++ plugins/sfSimpleCommentPlugin/README        2010-04-20 16:41:07 UTC (rev 
29224)
@@ -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.

Reply via email to