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

init() protected method

protected init ( )
    protected function init()
    {
        parent::init();
        $this->dimension = new DownloadUrl();
        $this->name = Piwik::translate('General_Downloads');
        $this->documentation = Piwik::translate('Actions_DownloadsReportDocumentation', '<br />');
        $this->metrics = array('nb_visits', 'nb_hits');
        $this->actionToLoadSubTables = $this->action;
        $this->order = 9;
        $this->subcategoryId = 'General_Downloads';
    }