public function FrxControls::iso_date in Forena Reports 7
Same name and namespace in other branches
- 6.2 plugins/FrxControls.inc \FrxControls::iso_date()
- 6 plugins/FrxControls.inc \FrxControls::iso_date()
- 7.2 plugins/FrxControls.inc \FrxControls::iso_date()
- 7.3 plugins/FrxControls.inc \FrxControls::iso_date()
- 7.4 plugins/FrxControls.inc \FrxControls::iso_date()
File
- plugins/
FrxControls.inc, line 69 - 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) {
if ($value) {
$date = strtotime($value);
}
return $this
->drupal_date_format($date, $format_str);
}