You are here

public function FrxEditor::preview in Forena Reports 7.4

File

./FrxEditor.inc, line 914
FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

FrxEditor
@file FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

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;
}