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

init() protected method

protected init ( )
    protected function init()
    {
        $this->module = 'Goals';
        $this->categoryId = 'Goals_Ecommerce';
    }

Usage Example

 protected function init()
 {
     parent::init();
     $this->action = 'get';
     $this->name = Piwik::translate('General_AbandonedCarts');
     $this->processedMetrics = array('avg_order_revenue');
     $this->order = 15;
     $this->metrics = array('nb_conversions', 'conversion_rate', 'revenue', 'items');
     $this->parameters = array('idGoal' => Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART);
 }
All Usage Examples Of Piwik\Plugins\Ecommerce\Reports\Base::init