You are here

public function FrxReport::collapseParameters in Forena Reports 7.4

Collapse the parameters if the data is loaded.

File

./FrxReport.inc, line 223
Basic report provider. Controls the rendering of the report.

Class

FrxReport

Code

public function collapseParameters() {
  if (is_array($this->parameters_form) && $this->parameters_form) {
    $form = $this->parameters_form;
    if (isset($form['params']) && @$form['params']['#collapsible']) {
      $this->parameters_form['params']['#collapsed'] = $this->blocks_loaded;
    }
  }
}