You are here

public function FrxParameterForm::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/FrxParameterForm.php, line 16
paramter form Use to customize report parameters form. @author metzlerd

Class

FrxParameterForm
Crosstab Renderer

Namespace

Drupal\forena\FrxPlugin\Renderer

Code

public function render() {
  $output = '';
  $variables = $this
    ->replacedAttributes();
  $variables['template'] = $this
    ->innerXML();

  //@TODO: Develop custom parameters form template.

  //$form = $this->report->parametersForm($variables);
  $this->report->parameters_form = array(
    '#markup' => drupal_render($form),
  );
  return $output;
}