public function FrxMergeDocument::generate in Forena Reports 7.5
Generate the template from the configuration.
Parameters
string $data_block:
SimpleXMLElement $xml:
array $config:
Overrides RendererBase::generate
File
- src/
Renderer/ FrxMergeDocument.php, line 35
Class
Namespace
Drupal\forena\RendererCode
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']);
}