38 $code =
'<li><span class="' . htmlspecialchars($node->getIcon()) .
'"> </span>' . htmlspecialchars($node->getLabel());
39 if ($recursive && $node->getChildNodes() !==
null) {
40 $this->recursionLevel++;
42 $this->recursionLevel--;
57 $this->recursionLevel = 0;
58 $code =
'<ul class="level' . $this->recursionLevel .
'" style="margin-left:10px">';
59 $code .= $this->
renderNode($tree->getRoot(), $recursive);
73 $code =
'<ul class="level' . $this->recursionLevel .
'" style="margin-left:10px">';
74 foreach ($collection as $node) {