Piwik\Plugins\Actions\Reports\GetPageUrls::init PHP Method

init() protected method

protected init ( )
    protected function init()
    {
        parent::init();
        $this->dimension = new PageUrl();
        $this->name = Piwik::translate('Actions_PageUrls');
        $this->documentation = Piwik::translate('Actions_PagesReportDocumentation', '<br />') . '<br />' . Piwik::translate('General_UsePlusMinusIconsDocumentation');
        $this->actionToLoadSubTables = $this->action;
        $this->order = 2;
        $this->metrics = array('nb_hits', 'nb_visits');
        $this->processedMetrics = array(new AverageTimeOnPage(), new BounceRate(), new ExitRate(), new AveragePageGenerationTime());
        $this->subcategoryId = 'General_Pages';
    }