<?php
namespace ModulesAbstract\PluginReports\Report\Model\Exporter; abstract class ExporterTreeSimpleXml extends ExporterAutoFileManagement { protected function node_setAttribute($node, $key, $value) { \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallStart($this, __METHOD__, []); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logInput([ 'node' => $node, 'key' => $key, 'value' => $value, ]); $ret = $node->addAttribute($key, $value); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallEnd(); return $ret; } protected function node_setValue($node, $key, $value) { \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallStart($this, __METHOD__, []); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logInput([ 'node' => $node, 'key' => $key, 'value' => $value, ]); $ret = $node->addChild($key, $value); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallEnd(); return $ret; } protected function node_appendValue($node, $value) { \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallStart($this, __METHOD__, []); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logInput([ 'node' => $node, 'value' => $value, ]); $ret = $node->addChild($value); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallEnd(); return $ret; } protected function node_setNewNode($node, $value) { \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallStart($this, __METHOD__, []); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logInput([ 'node' => $node, 'value' => $value, ]); $ret = $node->addChild($value); \Engine\Debug\ParserCallTrace\ParserCallTrace::getInstance()->logCallEnd(); return $ret; } } 