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

init() protected method

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

Usage Example

示例#1
0
文件: Get.php 项目: 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