@@ -11,6 +11,11 @@ |
||
| 11 | 11 | { |
| 12 | 12 | function indexAction() |
| 13 | 13 | { |
| 14 | + |
|
| 15 | + /** |
|
| 16 | + * @param DOMDocument $xml |
|
| 17 | + * @param string $nodeName |
|
| 18 | + */ |
|
| 14 | 19 | function addToXml($xml, $parent, $nodeName, $text) |
| 15 | 20 | { |
| 16 | 21 | $node = $parent->appendChild($xml->createElement($nodeName)); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <div class="ecommerce-sidebar-categorys"> |
| 2 | 2 | <?php |
| 3 | - if(empty($category)){ |
|
| 3 | + if (empty($category)) { |
|
| 4 | 4 | $category = []; |
| 5 | 5 | } |
| 6 | 6 | $tree = new Ui\Tree(); |