You are here

public static function Frx::format in Forena Reports 7.5

1 call to Frx::format()
Report::format in src/Report.php

File

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

Class

Frx

Code

public static function format($value, $format, $format_str, $teng = '') {
  $fo = Frx::formatter($format);
  if ($fo) {
    $ret = $fo
      ->{$format}($value, $format_str, $teng);
  }
  else {
    $ret = $value;
  }
  return $ret;
}