You are here

public function Word::flush in Forena Reports 8

Write the output to disk.

Return value

mixed

Overrides DocumentBase::flush

File

src/FrxPlugin/Document/Word.php, line 26
Word.inc Word document exporter. @author davidmetzler

Class

Word
Provides Microsoft Word

Namespace

Drupal\forena\FrxPlugin\Document

Code

public function flush() {
  $output = '<html><head>';
  $output .= '<meta http-equiv="Content-Type" content="text/html"/>';
  $output .= '<title>' . $this->title . '</title></head><body class="forena-report">' . $this->write_buffer . '</body></html>';
  return $output;
}