You are here

public function ReportEditor::preview in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Editor/ReportEditor.php \Drupal\forena\Editor\ReportEditor::preview()

File

src/Editor/ReportEditor.php, line 1009
ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

ReportEditor

Namespace

Drupal\forena\Editor

Code

public function preview($parms = array()) {
  $r = $this->frxReport;
  if (strpos($this->report_name, '__') !== 0) {
    $r->preview_mode = TRUE;
  }
  $content = $this
    ->report($parms, TRUE);
  return $content;
}