function FrxReportGenerator::define_plugins in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 FrxReportGenerator.inc \FrxReportGenerator::define_plugins()
Loads all of the include files that
1 call to FrxReportGenerator::define_plugins()
- FrxReportGenerator::load_provider in ./
FrxReportGenerator.inc - Load the data provider class based on the class name.
File
- ./
FrxReportGenerator.inc, line 467 - Common functions used throughout the project but loaded in this file to keep the module file lean.
Class
Code
function define_plugins($class = '') {
$plugins = $this->app
->plugins();
foreach ($plugins as $p) {
if ($class == '' || $class == $p['class']) {
if ($p['file']) {
include_once trim($p['file'], '/');
}
}
}
}