public static function Frx::Template in Forena Reports 7.3
Same name and namespace in other branches
- 7.5 Frx.inc \Frx::Template()
- 7.4 Frx.inc \Frx::Template()
Returns an object of the template class that has a method named templates.
Return value
1 call to Frx::Template()
File
- ./
Frx.inc, line 151 - Frx.incL General Forena Reporting Class
Class
Code
public static function Template($class) {
FrxReportGenerator::instance()
->supported_templates();
if (class_exists($class)) {
return new $class();
}
}