sendToBrowser() protected static method

protected static sendToBrowser ( $filename, $extension, $contentType, $content )
コード例 #1
0
 public function sendToBrowserDownload($filename)
 {
     ReportRenderer::sendToBrowser($filename, Sms::SMS_FILE_EXTENSION, Sms::SMS_CONTENT_TYPE, $this->rendering);
 }
コード例 #2
0
ファイル: Csv.php プロジェクト: josl/CGE-File-Sharing
 /**
  * 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());
 }
コード例 #3
0
ファイル: Html.php プロジェクト: FluentDevelopment/piwik
 public function sendToBrowserDownload($filename)
 {
     $this->epilogue();
     ReportRenderer::sendToBrowser($filename, self::HTML_FILE_EXTENSION, self::HTML_CONTENT_TYPE, $this->rendering);
 }