source/Application/Controller/Admin/NavigationTree.php
protected function _copyAttributes($domElemTo, $domElemFrom)
    {
        foreach ($domElemFrom->attributes as $attr) {
            $domElemTo->setAttribute($attr->nodeName, $attr->nodeValue);
        }
    }
protected function _copyAttributes($domElemTo, $domElemFrom)
    {
        foreach ($domElemFrom->attributes as $attr) {
            $domElemTo->setAttribute($attr->nodeName, $attr->nodeValue);
        }
    }
protected function _copyAttributes ( $ domElemTo , $ domElemFrom ) { foreach ( $ domElemFrom -> attributes as $ attr ) { $ domElemTo -> setAttribute ( $ attr -> nodeName , $ attr -> nodeValue ) ; } }
Copys attributes form one element to another

@param object $domElemTo   DOMElement
@param object $domElemFrom DOMElement
Copys attributes form one element to another