function yandex_metrics_reports_yandex_metrics_reports_list in Yandex.Metrics 8.2
Same name and namespace in other branches
- 8.3 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_yandex_metrics_reports_list()
- 6.2 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_yandex_metrics_reports_list()
- 7.3 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_yandex_metrics_reports_list()
- 7.2 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_yandex_metrics_reports_list()
Implements hook_yandex_metrics_reports_list().
File
- yandex_metrics_reports/
yandex_metrics_reports.module, line 435 - The main code of Yandex.Metrics Reports module.
Code
function yandex_metrics_reports_yandex_metrics_reports_list() {
$reports = array();
$reports['visits_chart'] = array(
'title' => t('Page Views, Visitors, New Visitors'),
'callback' => 'yandex_metrics_reports_visits_chart',
);
$reports['sources_chart'] = array(
'title' => t('Traffic Sources'),
'callback' => 'yandex_metrics_reports_sources_chart',
);
$reports['search_phrases'] = array(
'title' => t('Popular Search Phrases'),
'callback' => 'yandex_metrics_reports_search_phrases',
);
$reports['popular_content'] = array(
'title' => t('Popular Content'),
'callback' => 'yandex_metrics_reports_popular_content',
);
$reports['geo_chart'] = array(
'title' => t('Geography of Visits'),
'callback' => 'yandex_metrics_reports_geo_chart',
);
$reports['hourly_chart'] = array(
'title' => t('Hourly Traffic'),
'callback' => 'yandex_metrics_reports_traffic_hourly_chart',
);
$reports['gender_chart'] = array(
'title' => t('Demography of Visits'),
'callback' => 'yandex_metrics_reports_gender_chart',
);
return $reports;
}