1<?php
2/**
3 * Matomo - free/libre analytics platform
4 *
5 * @link https://matomo.org
6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7 *
8 */
9namespace Piwik\Plugins\Actions\Reports;
10
11use Piwik\Piwik;
12use Piwik\Plugins\Actions\Columns\Metrics\AveragePageGenerationTime;
13
14class Get extends Base
15{
16    protected function init()
17    {
18        parent::init();
19
20        $this->name          = Piwik::translate('General_Actions') . ' - ' . Piwik::translate('General_MainMetrics');
21        $this->documentation = Piwik::translate('Actions_MainMetricsReportDocumentation');
22        $this->order = 1;
23        $this->processedMetrics = array(
24            new AveragePageGenerationTime()
25        );
26        $this->metrics  = array(
27            'nb_pageviews',
28            'nb_uniq_pageviews',
29            'nb_downloads',
30            'nb_uniq_downloads',
31            'nb_outlinks',
32            'nb_uniq_outlinks',
33            'nb_searches',
34            'nb_keywords'
35        );
36    }
37}
38