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

init() protected method

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

Usage Example

Example #1
0
 protected function init()
 {
     parent::init();
     $this->dimension = new Language();
     $this->name = Piwik::translate('UserLanguage_BrowserLanguage');
     $this->documentation = '';
     // TODO
     $this->order = 8;
 }
Base