protected function isSelectedFeature($featureName) {        
        $isSelected = false;
        foreach ($this->selectedArtifacts as $selectedArtifact)
            if ($featureName === $selectedArtifact->getFeature()->getName())
                $isSelected = true;
        return $isSelected;
    }
protected function isSelectedFeature($featureName) {        
        $isSelected = false;
        foreach ($this->selectedArtifacts as $selectedArtifact)
            if ($featureName === $selectedArtifact->getFeature()->getName())
                $isSelected = true;
        return $isSelected;
    }
protected function isSelectedFeature ( $ featureName ) { $ isSelected = false ; foreach ( $ this -> selectedArtifacts as $ selectedArtifact ) if ( $ featureName === $ selectedArtifact -> getFeature ( ) -> getName ( ) ) $ isSelected = true ; return $ isSelected ; }
Returns whether a feature's artifact is selected.
@param string $featureName
@return bool
Returns whether a feature s artifact is selected .