public static function FrxReportGenerator::instance in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 FrxReportGenerator.inc \FrxReportGenerator::instance()
- 7.3 FrxReportGenerator.inc \FrxReportGenerator::instance()
- 7.4 FrxReportGenerator.inc \FrxReportGenerator::instance()
File
- ./
FrxReportGenerator.inc, line 20 - Common functions used throughout the project but loaded in this file to keep the module file lean.
Class
Code
public static function instance() {
global $forena_application_class;
if (!self::$instance) {
if (!$forena_application_class) {
$forena_application_class = 'FrxDrupalApplication';
}
self::$instance = new FrxReportGenerator($forena_application_class);
}
return self::$instance;
}