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

init() protected method

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

Usage Example

 protected function init()
 {
     parent::init();
     $this->dimension = new VisitDuration();
     $this->name = Piwik::translate('VisitorInterest_WidgetLengths');
     $this->documentation = Piwik::translate('VisitorInterest_WidgetLengthsDocumentation') . '<br />' . Piwik::translate('General_ChangeTagCloudView');
     $this->metrics = array('nb_visits');
     $this->processedMetrics = false;
     $this->constantRowsCount = true;
     $this->order = 15;
 }
All Usage Examples Of Piwik\Plugins\VisitorInterest\Reports\Base::init
Base