public function FrxAjax::render in Forena Reports 8
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
Return value
string text from the renderer.
Overrides RendererBase::render
File
- src/
FrxPlugin/ Renderer/ FrxAjax.php, line 19
Class
- FrxAjax
- Crosstab Renderer
Namespace
Drupal\forena\FrxPlugin\RendererCode
public function render() {
$text = $this
->innerXML($this->reportNode);
$command = $this
->mergedAttributes();
$command['text'] = $text;
$event = $this
->extract('event', $command);
if (strpos($event, 'pre') === 0) {
$event = 'pre';
}
else {
$event = 'post';
}
$this
->getDocument()
->addAjaxCommand($command, $event);
return '';
}