Pārlūkot izejas kodu

Merge pull request #402 from Antek88/patch-2

Update doc/tree.md
Gediminas Morkevicius 13 gadi atpakaļ
vecāks
revīzija
4f86fe41d1
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      doc/tree.md

+ 1 - 2
doc/tree.md

@@ -557,7 +557,6 @@ $htmlTree = $repo->childrenHierarchy(
 $repo = $em->getRepository('Entity\Category');
 $options = array(
     'decorate' => true,
-    'representationField' => 'slug',
     'rootOpen' => '<ul>',
     'rootClose' => '</ul>',
     'childOpen' => '<li>',
@@ -569,9 +568,9 @@ $options = array(
 $htmlTree = $repo->childrenHierarchy(
     null, /* starting from root nodes */
     false, /* load all children, not only direct */
-    true, /* render html */
     $options
 );
+
 ```
 
 ### Generate own node list