public function FrxInclude::generate in Forena Reports 7.5
Implement template generator.
Overrides RendererBase::generate
See also
File
- src/
Renderer/ FrxInclude.php, line 82 - FrxInclude Include a reference to another report as an asset. @author davidmetzler
Class
Namespace
Drupal\forena\RendererCode
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);
}