public function FrxRptInclude::generate in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 templates/FrxRptInclude.inc \FrxRptInclude::generate()
- 7.3 templates/FrxRptInclude.inc \FrxRptInclude::generate()
* * Enter description here ... *
Parameters
string $data_block: * @param SimpleXMLElement $xml * @param array $config
Overrides FrxTemplate::generate
File
- templates/
FrxRptInclude.inc, line 5
Class
Code
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);
}