コード例 #1
0
ファイル: Controller.php プロジェクト: nomoto-ubicast/piwik
 public function configureViewSiteSearchKeywords(Piwik_ViewDataTable $view)
 {
     $view->setColumnTranslation('label', Piwik_Translate('Actions_ColumnSearchKeyword'));
     $view->setColumnsToDisplay(array('label', 'nb_visits', 'nb_pages_per_search', 'exit_rate'));
     $view->setColumnTranslation('nb_visits', Piwik_Translate('Actions_ColumnSearches'));
     $view->setColumnTranslation('exit_rate', str_replace("% ", "% ", Piwik_Translate('Actions_ColumnSearchExits')));
     $view->setColumnTranslation('nb_pages_per_search', Piwik_Translate('Actions_ColumnPagesPerSearch'));
     $view->disableShowBarChart();
     $view->disableShowAllColumns();
 }