source/Application/Controller/Admin/NavigationTree.php
public function getClassId($className)
    {
        $xPath = new DOMXPath($this->_getInitialDom());
        $nodeList = $xPath->query("//*[@cl='{$className}' or @list='{$className}']");
        if ($nodeList->length && ($firstItem = $nodeList->item(0))) {
            return $firstItem->getAttribute('id');
        }
    }
public function getClassId($className)
    {
        $xPath = new DOMXPath($this->_getInitialDom());
        $nodeList = $xPath->query("//*[@cl='{$className}' or @list='{$className}']");
        if ($nodeList->length && ($firstItem = $nodeList->item(0))) {
            return $firstItem->getAttribute('id');
        }
    }
public function getClassId ( $ className ) { $ xPath = new DOMXPath ( $ this -> _getInitialDom ( ) ) ; $ nodeList = $ xPath -> query ( "//*[@cl='{$className}' or @list='{$className}']" ) ; if ( $ nodeList -> length && ( $ firstItem = $ nodeList -> item ( 0 ) ) ) { return $ firstItem -> getAttribute ( 'id' ) ; } }
Returns id of class assigned to current node

@param string $className active class name

@return string
Returns id of class assigned to current node