function commerce_reports_handler_field_date::getFormat in Commerce Reporting 7.3
2 calls to commerce_reports_handler_field_date::getFormat()
- commerce_reports_handler_field_date::query in includes/
views/ commerce_reports_handler_field_date.inc - Adds the date to the query. Adds GROUP BY and ORDER BY clause.
- commerce_reports_handler_field_date::render in includes/
views/ commerce_reports_handler_field_date.inc - Render the field.
File
- includes/
views/ commerce_reports_handler_field_date.inc, line 182 - Views field handler for the created date on orders.
Class
- commerce_reports_handler_field_date
- @file Views field handler for the created date on orders.
Code
function getFormat() {
if (!empty($this->options['exposed']) && !empty($this->granularity)) {
return $this->granularity;
}
return $this->options['default_granularity'];
}