소스 검색

Merge pull request #20 from yethee/doc

Updated the documentation
Johannes 13 년 전
부모
커밋
7ec2f103d5
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      Resources/doc/index.rst

+ 5 - 3
Resources/doc/index.rst

@@ -57,6 +57,8 @@ suit your needs::
                 format: Y-m-dTH:i:s
                 default_timezone: UTC
             array_collection: true
+            form_error: true
+            constraint_violation: true
             
         property_naming:
             separator:  _
@@ -432,9 +434,9 @@ XML Reference
                 <xml-list inline="true" entry-name="foobar" />
                 <xml-map inline="true" key-attribute-name="foo" entry-name="bar" />
             </property>
-            <callback-method name="foo" event="pre-serialize" />
-            <callback-method name="bar" event="post-serialize" />
-            <callback-method name="baz" event="post-deserialize" />
+            <callback-method name="foo" type="pre-serialize" />
+            <callback-method name="bar" type="post-serialize" />
+            <callback-method name="baz" type="post-deserialize" />
         </class>
     </serializer>