You are here

public function FrxSVGDoc::header in Forena Reports 7.4

Overrides FrxDocument::header

File

docformats/FrxSVGDoc.inc, line 14
FrxSVGDoc Embedded SVG Graph as it's own document. @author davidmetzler

Class

FrxSVGDoc
@file FrxSVGDoc Embedded SVG Graph as it's own document. @author davidmetzler

Code

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