You are here

public function FrxParameterForm::render in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 renderers/FrxParameterForm.inc \FrxParameterForm::render()

Overrides FrxRenderer::render

File

renderers/FrxParameterForm.inc, line 10
paramter form Use to customize report parameters form. @author metzlerd

Class

FrxParameterForm
@file paramter form Use to customize report parameters form. @author metzlerd

Code

public function render() {
  $output = '';
  if ($this->format == 'web') {
    $variables = $this
      ->replacedAttributes();
    $variables['template'] = $this
      ->innerXML();
    $form = $this->frxReport
      ->parametersForm($variables);
    $output = $this
      ->drupalRender($form);
  }
  return $output;
}