You are here

public function FrxXMLDoc::render in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.3 docformats/FrxXMLDoc.inc \FrxXMLDoc::render()

Overrides FrxDocument::render

File

docformats/FrxXMLDoc.inc, line 42
FrxHtmlDoc Straight XML document with no wrapping theme. @author davidmetzler

Class

FrxXMLDoc
@file FrxHtmlDoc Straight XML document with no wrapping theme. @author davidmetzler

Code

public function render($r, $format, $options = array()) {
  $ending_tag = $this->root_tag;
  if ($ending_tag) {
    $r->html .= "</{$ending_tag}>";
  }
  return $r->html;
}