diff options
Diffstat (limited to 'plugins/Goals/Reports/GetPagesTitles.php')
-rw-r--r-- | plugins/Goals/Reports/GetPagesTitles.php | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/plugins/Goals/Reports/GetPagesTitles.php b/plugins/Goals/Reports/GetPagesTitles.php deleted file mode 100644 index c3f63d9d4b..0000000000 --- a/plugins/Goals/Reports/GetPagesTitles.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -/** - * Matomo - free/libre analytics platform - * - * @link https://matomo.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - * - */ -namespace Piwik\Plugins\Goals\Reports; - -use Piwik\Piwik; -use Piwik\Plugin\ViewDataTable; -use Piwik\Plugins\Actions\Columns\PageTitle; -use Piwik\Plugins\Goals\Visualizations\GoalsPages; -use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; - -class GetPagesTitles extends BasePages -{ - - protected function init() - { - parent::init(); - $this->name = Piwik::translate('Goals_PageTitles'); - $this->documentation = Piwik::translate('Goals_PageTitlesReportDocumentation'); - $this->dimension = new PageTitle(); - $this->order = 3; - } - - public function configureView(ViewDataTable $view) - { - - $view->config->show_exclude_low_population = false; - - if ($view->isViewDataTableId(HtmlTable::ID)) { - $view->config->disable_subtable_when_show_goals = true; - } - - $view->requestConfig->filter_sort_column = 'nb_hits'; - $view->requestConfig->filter_sort_order = 'asc'; - $view->requestConfig->filter_limit = 25; - - $view->config->addTranslations(array('label' => $this->dimension->getName(), - 'nb_hits' => Piwik::translate('General_ColumnUniquePageviews'))); - } - - public function getDefaultTypeViewDataTable() - { - return GoalsPages::ID; - } - -} |