You are here

FrxXMLSource.inc in Forena Reports 6.2

Same filename and directory in other branches
  1. 7.2 plugins/FrxXMLSource.inc

File

plugins/FrxXMLSource.inc
View source
<?php

/**
 * Look at the FrxRender class to see a full list of
 * properties that can be used here.
 */
class FrxXMLSource extends FrxRenderer {
  public function render() {
    $node = $this->reportDocNode;
    $xml = FrxData::instance()
      ->currentContext();
    if ($xml && is_callable(array(
      $xml,
      'asXML',
    ))) {
      $output = htmlspecialchars($xml
        ->asXML());
    }
    return $output;
  }

}

Classes

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