当前位置: 首页>>代码示例>>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;未经允许,请勿转载。