You are here

public function FrxPrincePDF::header in Forena Reports 7.4

Overrides FrxDocument::header

File

docformats/FrxPrincePDF.inc, line 80
FrxPrincePDF PDF document via Prince XML @author davidmetzler

Class

FrxPrincePDF
@file FrxPrincePDF PDF document via Prince XML @author davidmetzler

Code

public function header($r, $print = FALSE) {
  $r->html = '';
  if ($print) {
    header('Content-Type: ' . $this->content_type);
    header('Cache-Control:');
    header('Pragma:');
    header('Cache-Control: must-revalidate');
  }
}