function FrxHostApplication::supported_templates in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 FrxHostApplication.inc \FrxHostApplication::supported_templates()
* *
Return value
returns an array of supported templates *
File
- ./
FrxHostApplication.inc, line 245
Class
Code
function supported_templates() {
$controls = $this
->controls();
$supported_templates = array();
foreach ($controls as $k => $r) {
$provider = $r;
if ($provider && method_exists($provider, 'templates')) {
$f = $provider
->templates();
$supported_templates = array_merge($supported_templates, $f);
}
}
return $supported_templates;
}