You are here

public function ReportEditor::preview in Forena Reports 7.5

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

File

src/Editor/ReportEditor.php, line 970
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, TRUE);
  return $content;
}