You are here

public function ReportEditor::asXML in Forena Reports 7.5

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

Report the root element Enter description here ...

1 call to ReportEditor::asXML()
ReportEditor::save in src/Editor/ReportEditor.php
Save report

File

src/Editor/ReportEditor.php, line 59
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 asXML() {
  $this->dom->formatOutput = TRUE;
  return $this->doc_prefix . $this->dom
    ->saveXML($this->dom->documentElement);
}