You are here

public function FrxReport::render in Forena Reports 7

Same name and namespace in other branches
  1. 6.2 FrxReport.inc \FrxReport::render()
  2. 6 FrxReport.inc \FrxReport::render()
  3. 7.2 FrxReport.inc \FrxReport::render()
  4. 7.3 FrxReport.inc \FrxReport::render()
  5. 7.4 FrxReport.inc \FrxReport::render()

Render the report

Return value

unknown_type

File

./FrxReport.inc, line 222
Basic report provider. Controls the rendering of the report.

Class

FrxReport

Code

public function render($format) {
  $dom = $this->dom;
  $o = '';
  $body = $dom
    ->getElementsByTagName('body')
    ->item(0);
  foreach ($body->childNodes as $node) {
    $o .= $this
      ->render_section($node);
  }
  return $o;
}