source/Application/Controller/Admin/NavigationTree.php
protected function _addLinks($dom)
    {
        $url = 'index.php?'; // session parameters will be included later (after cache processor)
        $xPath = new DomXPath($dom);

        // building
        $nodeList = $xPath->query("//SUBMENU[@cl]");
        foreach ($nodeList as $node) {
            // fetching class
            $cl = $node->getAttribute('cl');
            $cl = $cl ? "cl=$cl" : '';

            // fetching params
            $param = $node->getAttribute('clparam');
            $param = $param ? "&$param" : '';

            // setting link
            $node->setAttribute('link', "{$url}{$cl}{$param}");
        }
    }
protected function _addLinks($dom)
    {
        $url = 'index.php?'; // session parameters will be included later (after cache processor)
        $xPath = new DomXPath($dom);

        // building
        $nodeList = $xPath->query("//SUBMENU[@cl]");
        foreach ($nodeList as $node) {
            // fetching class
            $cl = $node->getAttribute('cl');
            $cl = $cl ? "cl=$cl" : '';

            // fetching params
            $param = $node->getAttribute('clparam');
            $param = $param ? "&$param" : '';

            // setting link
            $node->setAttribute('link', "{$url}{$cl}{$param}");
        }
    }
protected function _addLinks ( $ dom ) { $ url = 'index.php?' ; // session parameters will be included later (after cache processor) $ xPath = new DomXPath ( $ dom ) ; // building $ nodeList = $ xPath -> query ( "//SUBMENU[@cl]" ) ; foreach ( $ nodeList as $ node ) { // fetching class $ cl = $ node -> getAttribute ( 'cl' ) ; $ cl = $ cl ? "cl=$cl" : '' ; // fetching params $ param = $ node -> getAttribute ( 'clparam' ) ; $ param = $ param ? "&$param" : '' ; // setting link $ node -> setAttribute ( 'link' , "{$url}{$cl}{$param}" ) ; } }
Adds links to xml nodes to resolve paths

@param DomDocument $dom where to add links
Adds links to xml nodes to resolve paths