You are here

public function FrxControls::xhtml in Forena Reports 7.4

Same name and namespace in other branches
  1. 6.2 plugins/FrxControls.inc \FrxControls::xhtml()
  2. 7.2 plugins/FrxControls.inc \FrxControls::xhtml()
  3. 7.3 plugins/FrxControls.inc \FrxControls::xhtml()

File

plugins/FrxControls.inc, line 105
contains various methods for extending report formating, layout, transformation and design.

Class

FrxControls
@file contains various methods for extending report formating, layout, transformation and design.

Code

public function xhtml($value, $format_str, $teng) {
  if ($value) {
    $value = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
    if ($format_str && filter_format_exists($format_str)) {
      $value = check_markup($value, $format_str);
    }
  }
  return $value;
}