public function getReport(){
        if($this->isValid()){
            return common_report_Report::createSuccess('');
        }else{
            $report = new common_report_Report('');
            foreach($this->getErrors() as $error){
                $report->add(common_report_Report::createFailure($error['message']));
            }
            return $report;
        }
    }
public function getReport(){
        if($this->isValid()){
            return common_report_Report::createSuccess('');
        }else{
            $report = new common_report_Report('');
            foreach($this->getErrors() as $error){
                $report->add(common_report_Report::createFailure($error['message']));
            }
            return $report;
        }
    }
public function getReport ( ) { if ( $ this -> isValid ( ) ) { return common_report_Report :: createSuccess ( '' ) ; } else { $ report = new common_report_Report ( '' ) ; foreach ( $ this -> getErrors ( ) as $ error ) { $ report -> add ( common_report_Report :: createFailure ( $ error [ 'message' ] ) ) ; } return $ report ; } }
Creates a report without title of the parsing result
@return common_report_Report
Creates a report without title of the parsing result