當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Request::getCurrentUrlWithoutGenericFilters方法代碼示例

本文整理匯總了PHP中Piwik\API\Request::getCurrentUrlWithoutGenericFilters方法的典型用法代碼示例。如果您正苦於以下問題:PHP Request::getCurrentUrlWithoutGenericFilters方法的具體用法?PHP Request::getCurrentUrlWithoutGenericFilters怎麽用?PHP Request::getCurrentUrlWithoutGenericFilters使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Piwik\API\Request的用法示例。


在下文中一共展示了Request::getCurrentUrlWithoutGenericFilters方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: configureView

 public function configureView(ViewDataTable $view)
 {
     $view->config->self_url = Request::getCurrentUrlWithoutGenericFilters(array('module' => $this->module, 'action' => 'getPageTitles'));
     $view->config->title = $this->name;
     $view->config->addTranslation('label', $this->dimension->getName());
     $view->config->columns_to_display = array('label', 'nb_hits', 'nb_visits', 'bounce_rate', 'avg_time_on_page', 'exit_rate', 'avg_time_generation');
     $this->addPageDisplayProperties($view);
     $this->addBaseDisplayProperties($view);
 }
開發者ID:piwik,項目名稱:piwik,代碼行數:9,代碼來源:GetPageTitles.php

示例2: configureView

 public function configureView(ViewDataTable $view)
 {
     $view->config->self_url = Request::getCurrentUrlWithoutGenericFilters(array('module' => 'Actions', 'action' => 'getExitPageUrls'));
     $view->config->addTranslations(array('label' => $this->dimension->getName()));
     $view->config->title = $this->name;
     $view->config->columns_to_display = array('label', 'exit_nb_visits', 'nb_visits', 'exit_rate');
     $view->requestConfig->filter_sort_column = 'exit_nb_visits';
     $view->requestConfig->filter_sort_order = 'desc';
     $this->addPageDisplayProperties($view);
     $this->addBaseDisplayProperties($view);
 }
開發者ID:FluentDevelopment,項目名稱:piwik,代碼行數:11,代碼來源:GetExitPageUrls.php

示例3: configureView

 public function configureView(ViewDataTable $view)
 {
     // link to the page, not just the report, but only if not a widget
     $widget = Common::getRequestVar('widget', false);
     $view->config->self_url = Request::getCurrentUrlWithoutGenericFilters(array('module' => $this->module, 'action' => $widget === false ? 'indexPageTitles' : 'getPageTitles'));
     $view->config->title = $this->name;
     $view->config->addTranslation('label', $this->dimension->getName());
     $view->config->columns_to_display = array('label', 'nb_hits', 'nb_visits', 'bounce_rate', 'avg_time_on_page', 'exit_rate', 'avg_time_generation');
     $this->addPageDisplayProperties($view);
     $this->addBaseDisplayProperties($view);
 }
開發者ID:a4tunado,項目名稱:piwik,代碼行數:11,代碼來源:GetPageTitles.php

示例4: configureView

 public function configureView(ViewDataTable $view)
 {
     // link to the page, not just the report, but only if not a widget
     $widget = Common::getRequestVar('widget', false);
     $view->config->self_url = Request::getCurrentUrlWithoutGenericFilters(array('module' => 'Actions', 'action' => $widget === false ? 'indexExitPageUrls' : 'getExitPageUrls'));
     $view->config->addTranslations(array('label' => $this->dimension->getName()));
     $view->config->title = $this->name;
     $view->config->columns_to_display = array('label', 'exit_nb_visits', 'nb_visits', 'exit_rate');
     $view->requestConfig->filter_sort_column = 'exit_nb_visits';
     $view->requestConfig->filter_sort_order = 'desc';
     $this->addPageDisplayProperties($view);
     $this->addBaseDisplayProperties($view);
 }
開發者ID:a4tunado,項目名稱:piwik,代碼行數:13,代碼來源:GetExitPageUrls.php

示例5: configureViewForGetPageTitles

 public function configureViewForGetPageTitles(ViewDataTable $view)
 {
     // link to the page, not just the report, but only if not a widget
     $widget = Common::getRequestVar('widget', false);
     $view->config->self_url = Request::getCurrentUrlWithoutGenericFilters(array('module' => 'Actions', 'action' => $widget === false ? 'indexPageTitles' : 'getPageTitles'));
     $view->config->title = Piwik::translate('Actions_SubmenuPageTitles');
     $view->config->addRelatedReports(array('Actions.getEntryPageTitles' => Piwik::translate('Actions_EntryPageTitles'), 'Actions.getExitPageTitles' => Piwik::translate('Actions_ExitPageTitles')));
     $view->config->addTranslation('label', Piwik::translate('Actions_ColumnPageName'));
     $view->config->columns_to_display = array('label', 'nb_hits', 'nb_visits', 'bounce_rate', 'avg_time_on_page', 'exit_rate', 'avg_time_generation');
     $this->addPageDisplayProperties($view);
     $this->addBaseDisplayProperties($view);
 }
開發者ID:KiwiJuicer,項目名稱:handball-dachau,代碼行數:12,代碼來源:Actions.php

示例6: getBaseReportUrl

 /**
  * Returns the URL for the current requested report w/o any filter parameters.
  *
  * @param string $module The API module.
  * @param string $action The API action.
  * @param array $queryParams Query parameter overrides.
  * @return string
  */
 public static function getBaseReportUrl($module, $action, $queryParams = array())
 {
     $params = array_merge($queryParams, array('module' => $module, 'action' => $action));
     return Request::getCurrentUrlWithoutGenericFilters($params);
 }
開發者ID:josl,項目名稱:CGE-File-Sharing,代碼行數:13,代碼來源:Request.php


注:本文中的Piwik\API\Request::getCurrentUrlWithoutGenericFilters方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。