public function getReports()
    {
        $returnValue = array();

        
        if (count($this->reports) == 0){
        	return $returnValue;
        }
        else{
        	// Sort the reports to make them ordered in the same
        	// order the related components where added.
        	$components = $this->getComponents();
        	$reports = array();
        	foreach ($components as $c){
        		foreach ($this->reports as $r){
        			if ($r->getComponent() === $c){
        				array_push($reports, $r);
        			}
        		}
        	}
        }
        
        $returnValue = $reports;
        

        return (array) $returnValue;
    }
public function getReports()
    {
        $returnValue = array();

        
        if (count($this->reports) == 0){
        	return $returnValue;
        }
        else{
        	// Sort the reports to make them ordered in the same
        	// order the related components where added.
        	$components = $this->getComponents();
        	$reports = array();
        	foreach ($components as $c){
        		foreach ($this->reports as $r){
        			if ($r->getComponent() === $c){
        				array_push($reports, $r);
        			}
        		}
        	}
        }
        
        $returnValue = $reports;
        

        return (array) $returnValue;
    }
public function getReports ( ) { $ returnValue = array ( ) ; if ( count ( $ this -> reports ) == 0 ) { return $ returnValue ; } else { // Sort the reports to make them ordered in the same
 // order the related components where added.
 $ components = $ this -> getComponents ( ) ; $ reports = array ( ) ; foreach ( $ components as $ c ) { foreach ( $ this -> reports as $ r ) { if ( $ r -> getComponent ( ) === $ c ) { array_push ( $ reports , $ r ) ; } } } } $ returnValue = $ reports ; return ( array ) $ returnValue ; }
Short description of method getReports

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@return array
Short description of method getReports