You are here

function yandex_metrics_reports_get_filters in Yandex.Metrics 8.3

Same name and namespace in other branches
  1. 7.3 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_get_filters()
  2. 7.2 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_get_filters()

Returns array with list of all available filters.

1 call to yandex_metrics_reports_get_filters()
yandex_metrics_reports_get_filter_name in yandex_metrics_reports/yandex_metrics_reports.module
Returns string with human-readable filter's name.

File

yandex_metrics_reports/yandex_metrics_reports.module, line 678
The main code of Yandex.Metrics Reports module.

Code

function yandex_metrics_reports_get_filters() {
  return array(
    'day' => t('Today'),
    'yesterday' => t('Yesterday'),
    'week' => t('Week'),
    'month' => t('Month'),
  );
}