You are here

public function PrincePDF::header in Forena Reports 7.5

Overrides DocumentTypeBase::header

File

src/DocumentFormats/PrincePDF.php, line 82
FrxPrincePDF PDF document via Prince XML @author davidmetzler

Class

PrincePDF

Namespace

Drupal\forena\DocumentFormats

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');
  }
}