Exemplo n.º 1
0
 public function __construct()
 {
     if ($this->_isGroupByAccount()) {
         $this->_columnGroupBy = 'account_email';
     }
     parent::__construct();
     $this->_resourceCollectionName = 'affiliateplusstatistic/report_sales_collection';
     $this->setCountTotals(true);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     if ($this->_getGroupByColumn() == '2') {
         $this->_columnGroupBy = 'account_email';
     } elseif ($this->_getGroupByColumn() == '3') {
         $this->_columnGroupBy = 'banner_id';
     }
     parent::__construct();
     $this->_resourceCollectionName = 'affiliateplusstatistic/report_clicks_collection';
     $this->setCountTotals(true);
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->_resourceCollectionName = 'affiliateplusstatistic/report_sales_collection';
     $this->setCountTotals(true);
 }