public function saveReport($path){
        if (!isset($this->rawreport)){
            return false;
        }
        try{
            file_put_contents($path, $this->rawreport);
            $this->log("Successfully saved report #".$this->options['ReportId']." at $path");
        } catch (Exception $e){
            $this->log("Unable to save report #".$this->options['ReportId']." at $path: $e",'Urgent');
            return false;
        }
    }
public function saveReport($path){
        if (!isset($this->rawreport)){
            return false;
        }
        try{
            file_put_contents($path, $this->rawreport);
            $this->log("Successfully saved report #".$this->options['ReportId']." at $path");
        } catch (Exception $e){
            $this->log("Unable to save report #".$this->options['ReportId']." at $path: $e",'Urgent');
            return false;
        }
    }
public function saveReport ( $ path ) { if ( ! isset ( $ this -> rawreport ) ) { return false ; } try { file_put_contents ( $ path , $ this -> rawreport ) ; $ this -> log ( "Successfully saved report #" . $ this -> options [ 'ReportId' ] . " at $path" ) ; } catch ( Exception $ e ) { $ this -> log ( "Unable to save report #" . $ this -> options [ 'ReportId' ] . " at $path: $e" , 'Urgent' ) ; return false ; } }
Saves the raw report data to a path you specify
@param string $path <p>filename to save the file in</p>
@return boolean <b>FALSE</b> if something goes wrong
Saves the raw report data to a path you specify