You are here

public function FrxPrincePDF::output in Forena Reports 7.3

Overrides FrxDocument::output

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 output($output) {
  if ($output) {
    header('Content-Type: ' . $this->content_type);
    header('Cache-Control:');
    header('Pragma:');
    header('Cache-Control: must-revalidate');
    print $output;
    return TRUE;
  }
}