protected static sendToBrowser ( $filename, $extension, $contentType, $content ) |
public function sendToBrowserDownload($filename) { ReportRenderer::sendToBrowser($filename, Sms::SMS_FILE_EXTENSION, Sms::SMS_CONTENT_TYPE, $this->rendering); }
/** * Output rendering to browser * * @param string $filename without path & without format extension */ public function sendToBrowserInline($filename) { ReportRenderer::sendToBrowser($filename, ReportRenderer::CSV_FORMAT, "application/" . ReportRenderer::CSV_FORMAT, $this->getRenderedReport()); }
public function sendToBrowserDownload($filename) { $this->epilogue(); ReportRenderer::sendToBrowser($filename, self::HTML_FILE_EXTENSION, self::HTML_CONTENT_TYPE, $this->rendering); }