protected function getComponentTitle($componentId)
    {
        $component      =& $this->graphComponents[$componentId];
        $componentTitle = implode('/', array_filter(array_merge($component['path'], [$component['id']])));
        $componentTitle .= ' ('.$component['class'].')';

        return $componentTitle;
    }
protected function getComponentTitle($componentId)
    {
        $component      =& $this->graphComponents[$componentId];
        $componentTitle = implode('/', array_filter(array_merge($component['path'], [$component['id']])));
        $componentTitle .= ' ('.$component['class'].')';

        return $componentTitle;
    }
protected function getComponentTitle ( $ componentId ) { $ component = & $ this -> graphComponents [ $ componentId ] ; $ componentTitle = implode ( '/' , array_filter ( array_merge ( $ component [ 'path' ] , [ $ component [ 'id' ] ] ) ) ) ; $ componentTitle .= ' (' . $ component [ 'class' ] . ')' ; return $ componentTitle ; }
Create and return an component title

@param string $componentId Component ID

@return string Component title
Create and return an component title