public function renderReport($processedReport)
    {
        $csvRenderer = $this->getRenderer(
            $processedReport['reportData'],
            $processedReport['metadata']['uniqueId']
        );

        $reportData = $csvRenderer->render($processedReport);
        if (empty($reportData)) {
            $reportData = Piwik::translate('CoreHome_ThereIsNoDataForThisReport');
        }

        $replaceBySpace = array( $csvRenderer->separator, ";");
        $reportName = str_replace($replaceBySpace, " ", $processedReport['metadata']['name']);
        $this->rendered .= implode(
            '',
            array(
                $reportName,
                $csvRenderer->lineEnd,
                $reportData,
                $csvRenderer->lineEnd,
                $csvRenderer->lineEnd,
            )
        );
    }
public function renderReport($processedReport)
    {
        $csvRenderer = $this->getRenderer(
            $processedReport['reportData'],
            $processedReport['metadata']['uniqueId']
        );

        $reportData = $csvRenderer->render($processedReport);
        if (empty($reportData)) {
            $reportData = Piwik::translate('CoreHome_ThereIsNoDataForThisReport');
        }

        $replaceBySpace = array( $csvRenderer->separator, ";");
        $reportName = str_replace($replaceBySpace, " ", $processedReport['metadata']['name']);
        $this->rendered .= implode(
            '',
            array(
                $reportName,
                $csvRenderer->lineEnd,
                $reportData,
                $csvRenderer->lineEnd,
                $csvRenderer->lineEnd,
            )
        );
    }
public function renderReport ( $ processedReport ) { $ csvRenderer = $ this -> getRenderer ( $ processedReport [ 'reportData' ] , $ processedReport [ 'metadata' ] [ 'uniqueId' ] ) ; $ reportData = $ csvRenderer -> render ( $ processedReport ) ; if ( empty ( $ reportData ) ) { $ reportData = Piwik :: translate ( 'CoreHome_ThereIsNoDataForThisReport' ) ; } $ replaceBySpace = array ( $ csvRenderer -> separator , ";" ) ; $ reportName = str_replace ( $ replaceBySpace , " " , $ processedReport [ 'metadata' ] [ 'name' ] ) ; $ this -> rendered .= implode ( '' , array ( $ reportName , $ csvRenderer -> lineEnd , $ reportData , $ csvRenderer -> lineEnd , $ csvRenderer -> lineEnd , ) ) ; }
Render the provided report.
Multiple calls to this method before calling outputRendering appends each report content.

@param array $processedReport @see API::getProcessedReport()
Render the provided report . Multiple calls to this method before calling outputRendering appends each report content .