소스 검색

Update doc/tree.md

Correcting parameters on childrenHierarchy call
chrisjohnson00 13 년 전
부모
커밋
18f8a909e4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      doc/tree.md

+ 2 - 2
doc/tree.md

@@ -542,10 +542,10 @@ $repo = $em->getRepository('Entity\Category');
 $htmlTree = $repo->childrenHierarchy(
 $htmlTree = $repo->childrenHierarchy(
     null, /* starting from root nodes */
     null, /* starting from root nodes */
     false, /* load all children, not only direct */
     false, /* load all children, not only direct */
-    true, /* render html */
     array(
     array(
         'decorate' => true,
         'decorate' => true,
-        'representationField' => 'slug'
+        'representationField' => 'slug',
+        'html' => true
     )
     )
 );
 );
 ```
 ```