You are here

public function SVGDocument::output in Forena Reports 7.5

Output SVG content type headers.

Overrides DocumentTypeBase::output

File

src/DocumentFormats/SVGDocument.php, line 53
SVGDocument Embedded SVG Graph as it's own document. @author davidmetzler

Class

SVGDocument

Namespace

Drupal\forena\DocumentFormats

Code

public function output(&$output) {
  if ($this->content_type) {
    print $output;
    return TRUE;
  }
  else {
    return FALSE;
  }
}