public function getExpandedComponentId()
    {
        if ($this->_expandedComponentIdCache) {
            return $this->_expandedComponentIdCache;
        }
        $generator = $this->generator;
        if ($generator instanceof Kwc_Root_Category_Generator) {
            $separator = '_';
        } else {
            $separator = $generator->getIdSeparator();
        }
        $this->_expandedComponentIdCache = $this->parent->getExpandedComponentId() .
            $separator . $this->id;

        return $this->_expandedComponentIdCache;
    }
public function getExpandedComponentId()
    {
        if ($this->_expandedComponentIdCache) {
            return $this->_expandedComponentIdCache;
        }
        $generator = $this->generator;
        if ($generator instanceof Kwc_Root_Category_Generator) {
            $separator = '_';
        } else {
            $separator = $generator->getIdSeparator();
        }
        $this->_expandedComponentIdCache = $this->parent->getExpandedComponentId() .
            $separator . $this->id;

        return $this->_expandedComponentIdCache;
    }
public function getExpandedComponentId ( ) { if ( $ this -> _expandedComponentIdCache ) { return $ this -> _expandedComponentIdCache ; } $ generator = $ this -> generator ; if ( $ generator instanceof Kwc_Root_Category_Generator ) { $ separator = '_' ; } else { $ separator = $ generator -> getIdSeparator ( ) ; } $ this -> _expandedComponentIdCache = $ this -> parent -> getExpandedComponentId ( ) . $ separator . $ this -> id ; return $ this -> _expandedComponentIdCache ; }
Returns component_id with seperate entries from every page in tree

@example
root
|-1
|-2
|-3
componentId: 3, expandedComponentId: root-1_2_3

@return string
Returns component_id with seperate entries from every page in tree