You are here

public function FrxControls::iso_date in Forena Reports 7.4

Same name and namespace in other branches
  1. 6.2 plugins/FrxControls.inc \FrxControls::iso_date()
  2. 6 plugins/FrxControls.inc \FrxControls::iso_date()
  3. 7 plugins/FrxControls.inc \FrxControls::iso_date()
  4. 7.2 plugins/FrxControls.inc \FrxControls::iso_date()
  5. 7.3 plugins/FrxControls.inc \FrxControls::iso_date()

File

plugins/FrxControls.inc, line 100
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 iso_date($value, $format_str, $teng) {
  $date = $value ? strtotime($value) : '';
  return $this
    ->drupal_date_format($date, $format_str, $teng);
}