source/Application/Controller/Admin/NavigationTree.php
public function getEditUrl($id, $actTab)
    {
        $xPath = new DOMXPath($this->getDomXml());
        $nodeList = $xPath->query("//SUBMENU[@cl='{$id}']/TAB");

        $actTab = ($actTab > $nodeList->length) ? ($nodeList->length - 1) : $actTab;
        if ($nodeList->length && ($actTab = $nodeList->item($actTab))) {
            // special case for external resources
            if ($actTab->getAttribute('external')) {
                return $actTab->getAttribute('location');
            }
            $cl = $actTab->getAttribute('cl');
            $cl = $cl ? "cl={$cl}" : '';

            $params = $actTab->getAttribute('clparam');
            $params = $params ? "&{$params}" : '';

            return "{$cl}{$params}";
        }
    }
public function getEditUrl($id, $actTab)
    {
        $xPath = new DOMXPath($this->getDomXml());
        $nodeList = $xPath->query("//SUBMENU[@cl='{$id}']/TAB");

        $actTab = ($actTab > $nodeList->length) ? ($nodeList->length - 1) : $actTab;
        if ($nodeList->length && ($actTab = $nodeList->item($actTab))) {
            // special case for external resources
            if ($actTab->getAttribute('external')) {
                return $actTab->getAttribute('location');
            }
            $cl = $actTab->getAttribute('cl');
            $cl = $cl ? "cl={$cl}" : '';

            $params = $actTab->getAttribute('clparam');
            $params = $params ? "&{$params}" : '';

            return "{$cl}{$params}";
        }
    }
public function getEditUrl ( $ id , $ actTab ) { $ xPath = new DOMXPath ( $ this -> getDomXml ( ) ) ; $ nodeList = $ xPath -> query ( "//SUBMENU[@cl='{$id}']/TAB" ) ; $ actTab = ( $ actTab > $ nodeList -> length ) ? ( $ nodeList -> length - 1 ) : $ actTab ; if ( $ nodeList -> length && ( $ actTab = $ nodeList -> item ( $ actTab ) ) ) { // special case for external resources if ( $ actTab -> getAttribute ( 'external' ) ) { return $ actTab -> getAttribute ( 'location' ) ; } $ cl = $ actTab -> getAttribute ( 'cl' ) ; $ cl = $ cl ? "cl={$cl}" : '' ; $ params = $ actTab -> getAttribute ( 'clparam' ) ; $ params = $ params ? "&{$params}" : '' ; return "{$cl}{$params}" ; } }
Formats and returns url for edit area

@param string $id     tab related class
@param int    $actTab active tab

@return string
Formats and returns url for edit area