You are here

static function Frx::supportedFormats in Forena Reports 7.5

1 call to Frx::supportedFormats()
forena_fields_format_autocomplete in ./forena.module
Auto complete for formats

File

./Frx.inc, line 392
Frx.incL General Forena Reporting Class

Class

Frx

Code

static function supportedFormats() {
  $controls = Frx::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;
}