protected function parseNodeName($node)
    {
        $nodeName = $node->nodeName;
        if ($node->hasAttributes()) {
            $storeCodeNode     = $node->attributes->getNamedItem('store_code');
            $containerNameNode = $node->attributes->getNamedItem('name');
            if ($containerNameNode) {
                $nodeName = $containerNameNode->nodeValue;
                if ($storeCodeNode) {
                    $nodeName = $nodeName . "|" . $storeCodeNode->nodeValue;
                }
            }
        }

        return $nodeName;
    }
protected function parseNodeName($node)
    {
        $nodeName = $node->nodeName;
        if ($node->hasAttributes()) {
            $storeCodeNode     = $node->attributes->getNamedItem('store_code');
            $containerNameNode = $node->attributes->getNamedItem('name');
            if ($containerNameNode) {
                $nodeName = $containerNameNode->nodeValue;
                if ($storeCodeNode) {
                    $nodeName = $nodeName . "|" . $storeCodeNode->nodeValue;
                }
            }
        }

        return $nodeName;
    }
protected function parseNodeName ( $ node ) { $ nodeName = $ node -> nodeName ; if ( $ node -> hasAttributes ( ) ) { $ storeCodeNode = $ node -> attributes -> getNamedItem ( 'store_code' ) ; $ containerNameNode = $ node -> attributes -> getNamedItem ( 'name' ) ; if ( $ containerNameNode ) { $ nodeName = $ containerNameNode -> nodeValue ; if ( $ storeCodeNode ) { $ nodeName = $ nodeName . "|" . $ storeCodeNode -> nodeValue ; } } } return $ nodeName ; }
Retrieve proper node name

@param \DOMNode $node The configuration XML node to parse

@return string
Retrieve proper node name