You are here

public function HTML::header in Forena Reports 8

Default implementation to put in content type based headers.

Overrides DocumentBase::header

File

src/FrxPlugin/Document/HTML.php, line 19
HTML Straight html document with no wrapping theme. @author davidmetzler

Class

HTML
Provides Straight HTML page suitable for replacements

Namespace

Drupal\forena\FrxPlugin\Document

Code

public function header() {
  $this->headers = [];
  $this->headers['Content-Type'] = 'text/html ;charset=' . $this->charset;
}