You are here

public function FrxXMLSource::render in Forena Reports 6.2

Same name and namespace in other branches
  1. 7.2 plugins/FrxXMLSource.inc \FrxXMLSource::render()

Overrides FrxRenderer::render

File

plugins/FrxXMLSource.inc, line 7

Class

FrxXMLSource
* Look at the FrxRender class to see a full list of properties that can be used here.

Code

public function render() {
  $node = $this->reportDocNode;
  $xml = FrxData::instance()
    ->currentContext();
  if ($xml && is_callable(array(
    $xml,
    'asXML',
  ))) {
    $output = htmlspecialchars($xml
      ->asXML());
  }
  return $output;
}