Piwik\Plugins\UserCountry\Reports\GetCity::init PHP Method

init() protected method

protected init ( )
    protected function init()
    {
        parent::init();
        $this->dimension = new City();
        $this->name = Piwik::translate('UserCountry_City');
        $this->documentation = Piwik::translate('UserCountry_getCityDocumentation') . '<br/>' . $this->getGeoIPReportDocSuffix();
        $this->metrics = array('nb_visits', 'nb_uniq_visitors', 'nb_actions');
        $this->hasGoalMetrics = true;
        $this->order = 10;
        $this->subcategoryId = 'UserCountry_SubmenuLocations';
    }