source/Application/Controller/Admin/NavigationTree.php
public function markNodeActive($nodeId)
    {
        $xPath = new DOMXPath($this->getDomXml());
        $nodeList = $xPath->query("//*[@cl='{$nodeId}' or @list='{$nodeId}']");

        if ($nodeList->length) {
            foreach ($nodeList as $node) {
                // special case for external resources
                $node->setAttribute('active', 1);
                $node->parentNode->setAttribute('active', 1);
            }
        }
    }
public function markNodeActive($nodeId)
    {
        $xPath = new DOMXPath($this->getDomXml());
        $nodeList = $xPath->query("//*[@cl='{$nodeId}' or @list='{$nodeId}']");

        if ($nodeList->length) {
            foreach ($nodeList as $node) {
                // special case for external resources
                $node->setAttribute('active', 1);
                $node->parentNode->setAttribute('active', 1);
            }
        }
    }
public function markNodeActive ( $ nodeId ) { $ xPath = new DOMXPath ( $ this -> getDomXml ( ) ) ; $ nodeList = $ xPath -> query ( "//*[@cl='{$nodeId}' or @list='{$nodeId}']" ) ; if ( $ nodeList -> length ) { foreach ( $ nodeList as $ node ) { // special case for external resources $ node -> setAttribute ( 'active' , 1 ) ; $ node -> parentNode -> setAttribute ( 'active' , 1 ) ; } } }
Marks passed node as active

@param string $nodeId node id
Marks passed node as active