function FrxReportGenerator::supported_formats in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 FrxReportGenerator.inc \FrxReportGenerator::supported_formats()
- 7.3 FrxReportGenerator.inc \FrxReportGenerator::supported_formats()
- 7.4 FrxReportGenerator.inc \FrxReportGenerator::supported_formats()
File
- ./
FrxReportGenerator.inc, line 582 - Common functions used throughout the project but loaded in this file to keep the module file lean.
Class
Code
function supported_formats() {
$controls = $this
->define_controls();
$supported_formats = array();
$f = array();
foreach ($controls as $k => $r) {
$provider = $r;
if ($provider && method_exists($provider, 'formats')) {
$f = $provider
->formats();
$supported_formats = array_merge($supported_formats, $f);
}
}
return $supported_formats;
}