public function FrxMergeDocument::generate in Forena Reports 7.4
Generate the template from the configuration.
Parameters
string $data_block:
SimpleXMLElement $xml:
array $config:
Overrides FrxRenderer::generate
File
- renderers/
FrxMergeDocument.inc, line 34
Class
Code
public function generate($xml, &$config) {
$config['class'] = get_class($this);
$config['foreach'] = '*';
$div = $this
->blockDiv($config);
$this
->removeChildren($div);
$this
->addFragment($div, $config['content']['value']);
}