public static function singleReport($title, $reportHtml)
    {
        $view = new View('@CoreHome/_singleReport');
        $view->title = $title;
        $view->report = $reportHtml;
        return $view->render();
    }
public static function singleReport($title, $reportHtml)
    {
        $view = new View('@CoreHome/_singleReport');
        $view->title = $title;
        $view->report = $reportHtml;
        return $view->render();
    }
public static function singleReport ( $ title , $ reportHtml ) { $ view = new View ( '@CoreHome/_singleReport' ) ; $ view -> title = $ title ; $ view -> report = $ reportHtml ; return $ view -> render ( ) ; }
Creates a View for and then renders the single report template.

Can be used for pages that display only one report to avoid having to create
a new template.

@param string $title The report title.
@param string $reportHtml The report body HTML.
@return string|void The report contents if `$fetch` is true.
Creates a View for and then renders the single report template .