public function fetchReport(){
        if (!array_key_exists('ReportId',$this->options)){
            $this->log("Report ID must be set in order to fetch it!",'Warning');
            return false;
        }
        
        $url = $this->urlbase.$this->urlbranch;
        
        $query = $this->genQuery();
        
        if ($this->mockMode){
           $this->rawreport = $this->fetchMockFile(false);
        } else {
            $response = $this->sendRequest($url, array('Post'=>$query));
            
            if (!$this->checkResponse($response)){
                return false;
            }
            
            $this->rawreport = $response['body'];
        }
        
    }
public function fetchReport(){
        if (!array_key_exists('ReportId',$this->options)){
            $this->log("Report ID must be set in order to fetch it!",'Warning');
            return false;
        }
        
        $url = $this->urlbase.$this->urlbranch;
        
        $query = $this->genQuery();
        
        if ($this->mockMode){
           $this->rawreport = $this->fetchMockFile(false);
        } else {
            $response = $this->sendRequest($url, array('Post'=>$query));
            
            if (!$this->checkResponse($response)){
                return false;
            }
            
            $this->rawreport = $response['body'];
        }
        
    }
public function fetchReport ( ) { if ( ! array_key_exists ( 'ReportId' , $ this -> options ) ) { $ this -> log ( "Report ID must be set in order to fetch it!" , 'Warning' ) ; return false ; } $ url = $ this -> urlbase . $ this -> urlbranch ; $ query = $ this -> genQuery ( ) ; if ( $ this -> mockMode ) { $ this -> rawreport = $ this -> fetchMockFile ( false ) ; } else { $ response = $ this -> sendRequest ( $ url , array ( 'Post' => $ query ) ) ; if ( ! $ this -> checkResponse ( $ response ) ) { return false ; } $ this -> rawreport = $ response [ 'body' ] ; } }
Sends a request to Amazon for a report.

Submits a <i>GetReport</i> request to Amazon. In order to do this,
a report ID is required. Amazon will send
the data back as a response, which can be saved using <i>saveReport</i>.
@return boolean <b>FALSE</b> if something goes wrong
Sends a request to Amazon for a report .