You are here

public function FrxDocRaptor::header in Forena Reports 7.4

Overrides FrxDocument::header

File

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

Class

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

Code

public function header($r, $print = FALSE) {
  if (!$this->access) {
    return;
  }
  $r->html = '';
  if ($print) {
    header('Content-Type: ' . $this->content_type);
  }
}