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

init() protected method

protected init ( )
    protected function init()
    {
        parent::init();
        $this->dimension = new PageTitle();
        $this->name = Piwik::translate('Actions_SubmenuPageTitles');
        $this->documentation = Piwik::translate('Actions_PageTitlesReportDocumentation', array('<br />', htmlentities('<title>')));
        $this->order = 5;
        $this->metrics = array('nb_hits', 'nb_visits');
        $this->processedMetrics = array(new AverageTimeOnPage(), new BounceRate(), new ExitRate(), new AveragePageGenerationTime());
        $this->actionToLoadSubTables = $this->action;
        $this->subcategoryId = 'Actions_SubmenuPageTitles';
    }