public function renderDirectReportLink(ReportInstance $reportInstance, $linkText, $classes = ' ', $openInNewTab = true, $hideHome = true)
    {
        return $this->environment->render(
            'MesdJasperReportViewerBundle:Partials:directReportLink.html.twig',
            array(
                'reportUri' => $reportInstance->getReportUri(),
                'parameters' => urlencode(serialize($reportInstance->getParameters())),
                'linkText' => $linkText,
                'classes' => $classes,
                'openInNewTab' => $openInNewTab,
                'hideHome' => $hideHome));
    }