Author: khiramatsu
Date: 2010-05-12 19:27:29 +0200 (Wed, 12 May 2010)
New Revision: 29428

Modified:
   plugins/sfSimpleCommentPlugin/README
Log:
probe of fixing markdown in README

Modified: plugins/sfSimpleCommentPlugin/README
===================================================================
--- plugins/sfSimpleCommentPlugin/README        2010-05-12 17:26:04 UTC (rev 
29427)
+++ plugins/sfSimpleCommentPlugin/README        2010-05-12 17:27:29 UTC (rev 
29428)
@@ -67,20 +67,19 @@
 
 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
-
-
+  * Example:
+        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