public function addComponent( common_configuration_Component $component)
    {
        
        $components = $this->getComponents();
        
        // Search for a similar...
        foreach ($components as $c){
        	if ($c === $component){
        		// Already stored.
        		return;
        	}
        }
        
        // Not stored yet.
        $components[] = $component;
        $this->setComponents($components);
        
        
    }
public function addComponent( common_configuration_Component $component)
    {
        
        $components = $this->getComponents();
        
        // Search for a similar...
        foreach ($components as $c){
        	if ($c === $component){
        		// Already stored.
        		return;
        	}
        }
        
        // Not stored yet.
        $components[] = $component;
        $this->setComponents($components);
        
        
    }
public function addComponent ( common_configuration_Component $ component ) { $ components = $ this -> getComponents ( ) ; // Search for a similar...
 foreach ( $ components as $ c ) { if ( $ c === $ component ) { // Already stored.
 return ; } } // Not stored yet.
 $ components [ ] = $ component ; $ this -> setComponents ( $ components ) ; }
Short description of method addComponent

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  Component component
@return void
Short description of method addComponent