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

init() protected method

protected init ( )
    protected function init()
    {
        $this->categoryId = 'General_Visitors';
    }

Usage Example

Beispiel #1
0
 protected function init()
 {
     parent::init();
     $this->dimension = new Region();
     $this->name = Piwik::translate('UserCountry_Region');
     $this->documentation = Piwik::translate('UserCountry_getRegionDocumentation') . '<br/>' . $this->getGeoIPReportDocSuffix();
     $this->metrics = array('nb_visits', 'nb_uniq_visitors', 'nb_actions');
     $this->hasGoalMetrics = true;
     $this->order = 7;
     $this->subcategoryId = 'UserCountry_SubmenuLocations';
 }
All Usage Examples Of Piwik\Plugins\UserCountry\Reports\Base::init