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

init() protected method

protected init ( )
    protected function init()
    {
        $this->categoryId = 'General_Actions';
        $this->processedMetrics = false;
        $this->recursiveLabelSeparator = '/';
    }

Usage Example

Ejemplo n.º 1
0
 protected function init()
 {
     parent::init();
     $this->name = Piwik::translate('General_Actions') . ' - ' . Piwik::translate('General_MainMetrics');
     $this->documentation = '';
     // TODO
     $this->order = 1;
     $this->metrics = array('nb_pageviews', 'nb_uniq_pageviews', 'nb_downloads', 'nb_uniq_downloads', 'nb_outlinks', 'nb_uniq_outlinks', 'nb_searches', 'nb_keywords', 'avg_time_generation');
 }
All Usage Examples Of Piwik\Plugins\Actions\Reports\Base::init