FrxReportContext.inc in Forena Reports 7.3
File
plugins/FrxReportContext.incView 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
Name | Description |
---|---|
FrxReportContext | Special report embedder @author davidmetzler |