You are here

FrxRptInclude.inc in Forena Reports 7.3

Same filename and directory in other branches
  1. 6.2 templates/FrxRptInclude.inc
  2. 7.2 templates/FrxRptInclude.inc

FrxRptInclude.inc Generate an include of another report. @author davidmetzler

File

templates/FrxRptInclude.inc
View source
<?php

/**
 * @file FrxRptInclude.inc
 * Generate an include of another report.
 * @author davidmetzler
 *
 */
class FrxRptInclude extends FrxTemplate {
  public function generate($xml, $config) {
    $src = $this
      ->extract('src', $key);
    $div = $this
      ->blockDiv($config);
    $frx = array(
      'src' => $src,
      'renderer' => 'FrxInclude',
    );
    $this
      ->addNode($div, 4, 'div', NULL, $config, $frx);
  }

}

Classes

Namesort descending Description
FrxRptInclude @file FrxRptInclude.inc Generate an include of another report. @author davidmetzler