You are here

public function Report::asXML in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Report.php \Drupal\forena\Report::asXML()

Return the xml data for the report.

Return value

string

File

src/Report.php, line 473
Basic report provider. Controls the rendering of the report.

Class

Report

Namespace

Drupal\forena

Code

public function asXML() {
  $this->dom->formatOutput = TRUE;
  return $this->doc_prefix . $this->dom
    ->saveXML($this->dom->documentElement);
}