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

init() protected method

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

Usage Example

Example #1
0
File: Get.php Project: piwik/piwik
 protected function init()
 {
     parent::init();
     $this->name = Piwik::translate('Goals_Goals');
     $this->processedMetrics = array('conversion_rate');
     $this->documentation = '';
     // TODO
     $this->order = 1;
     $this->orderGoal = 50;
     $this->metrics = array('nb_conversions', 'nb_visits_converted', 'revenue');
     $this->parameters = null;
 }
All Usage Examples Of Piwik\Plugins\Goals\Reports\Base::init