public function getComponentType($name)
    {
        $types = $this->getComponentTypes();
        return empty($types[$name]) ? '' : $types[$name];
    }
public function getComponentType($name)
    {
        $types = $this->getComponentTypes();
        return empty($types[$name]) ? '' : $types[$name];
    }
public function getComponentType ( $ name ) { $ types = $ this -> getComponentTypes ( ) ; return empty ( $ types [ $ name ] ) ? '' : $ types [ $ name ] ; }
Returns a component type name
@param string $name
@return string
Returns a component type name