You are here

public function FrxReport::getValue in Forena Reports 8

1 call to FrxReport::getValue()
FrxReport::__get in src/FrxPlugin/Context/FrxReport.php

File

src/FrxPlugin/Context/FrxReport.php, line 21

Class

FrxReport
Class FrxReport

Namespace

Drupal\forena\FrxPlugin\Context

Code

public function getValue($key) {
  $output = $this
    ->report($key);
  if (is_array($output)) {
    $output = $output['report']['#template'];
  }
  return $output;
}