Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Goals/Reports/GetPagesEntry.php')
-rw-r--r--plugins/Goals/Reports/GetPagesEntry.php61
1 files changed, 0 insertions, 61 deletions
diff --git a/plugins/Goals/Reports/GetPagesEntry.php b/plugins/Goals/Reports/GetPagesEntry.php
deleted file mode 100644
index 5ed0b766ba..0000000000
--- a/plugins/Goals/Reports/GetPagesEntry.php
+++ /dev/null
@@ -1,61 +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\EntryPageUrl;
-use Piwik\Plugins\Goals\Visualizations\GoalsEntryPages;
-use Piwik\Plugin\ReportsProvider;
-use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
-
-class GetPagesEntry extends BasePages
-{
-
- protected function init()
- {
- parent::init();
- $this->name = Piwik::translate('Goals_EntryPages');
- $this->documentation = Piwik::translate('Goals_EntryPagesReportDocumentation');
- $this->dimension = new EntryPageUrl();
- $this->metrics = array( 'nb_conversions_entry', 'nb_visits_converted', 'revenue_entry', 'entry_nb_visits');
- $this->order = 2;
- }
-
- 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 = 'entry_nb_visits';
- $view->requestConfig->filter_sort_order = 'asc';
- $view->requestConfig->filter_limit = 25;
-
- $view->config->addTranslations(array('label' => $this->dimension->getName(),
- 'entry_nb_visits' => Piwik::translate('General_ColumnEntrances')));
-
- }
-
- public function getDefaultTypeViewDataTable()
- {
- return GoalsEntryPages::ID;
- }
-
- public function getRelatedReports()
- {
- return array(
- ReportsProvider::factory('Goals', 'getPagesEntryTitles'),
- );
- }
-
-}