You are here

FrxReportContext.inc in Forena Reports 7.3

File

plugins/FrxReportContext.inc
View source
<?php

/**
 * Special report embedder
 * @author davidmetzler
 *
 */
class FrxReportContext {

  // Get report based on current context and embed it.
  public function getValue($key, $context) {
    $context = Frx::Data()
      ->currentContext();
    $output = forena_report($key, $context, FALSE);
    return $output;
  }

  // Undo setter, no possibility to override.
  public function setValue($value) {
  }

}

Classes

Namesort descending Description
FrxReportContext Special report embedder @author davidmetzler