public function FrxReport::getRenderer in Forena Reports 7.4
1 call to FrxReport::getRenderer()
- FrxReport::render in ./
FrxReport.inc - Render the report
File
- ./
FrxReport.inc, line 862 - Basic report provider. Controls the rendering of the report.
Class
Code
public function getRenderer($renderer = '') {
if (!$renderer || !isset($this->renderers[$renderer])) {
$renderer = 'FrxRenderer';
}
// Build array of controls.
if (!isset($this->controls[$renderer])) {
$class = $this->renderers[$renderer];
if (class_exists($class)) {
$c = new $class();
$this->controls[$renderer] = $c;
}
}
return $this->controls[$renderer];
}