function google_analytics_reports_handler_filter_date::query in Google Analytics Reports 7.3
Add this filter to the query.
Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.
Overrides views_handler_filter_numeric::query
File
- handlers/
google_analytics_reports_handler_filter_date.inc, line 28 - Definition of google_analytics_reports_handler_filter_date.
Class
- google_analytics_reports_handler_filter_date
- A handler to provide filters for Google Analytics dates.
Code
function query() {
$this
->ensure_my_table();
$field = $this->real_field;
$info = $this
->operators();
if (!empty($info[$this->operator]['method'])) {
$this
->{$info[$this->operator]['method']}($field);
}
}