You are here

class FrxRptInclude in Forena Reports 7.3

Same name and namespace in other branches
  1. 6.2 templates/FrxRptInclude.inc \FrxRptInclude
  2. 7.2 templates/FrxRptInclude.inc \FrxRptInclude

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

Hierarchy

Expanded class hierarchy of FrxRptInclude

File

templates/FrxRptInclude.inc, line 8
FrxRptInclude.inc Generate an include of another report. @author davidmetzler

View source
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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FrxRptInclude::generate public function Enter description here ... Overrides FrxTemplate::generate
FrxTemplate::$body public property
FrxTemplate::$columns public property
FrxTemplate::$document_root public property
FrxTemplate::$doc_prefix public property
FrxTemplate::$dom public property
FrxTemplate::$simplexml public property
FrxTemplate::$xmlns public property
FrxTemplate::addNode function
FrxTemplate::addText function
FrxTemplate::asXML public function
FrxTemplate::blockDiv public function Generate generic div tag.
FrxTemplate::columns public function
FrxTemplate::config_form public function Returns the section Enter description here ... 2
FrxTemplate::extract public function Extract a configuration var removing it from the array
FrxTemplate::idFromBlock public function
FrxTemplate::template public function
FrxTemplate::__construct public function