public function filterRow(Gpf_Data_Row $row) { $this->setCommissionGroupId($row); if ($row->get('commissiongroupid') !== '') { return parent::filterRow($row); } return null; }
public function filterRow(Gpf_Data_Row $row) { if (!$this->filters->matches($row)) { return null; } return parent::filterRow($row); }
public function filterRow(Gpf_Data_Row $row) { $row->add('commissionsexist', Gpf::NO); if ($this->commissionsTable->findCampaignInCommExistsRecords($row->get("id"), $this->commissions)) { $row->set('commissionsexist', Gpf::YES); } $row->add('commissionsdetails', $this->commissionsTable->getCommissionsDescription($row->get("id"), $this->commissions, $this->getCommissionGroupId($row))); $row->set('name', $this->_localize($row->get('name'))); return parent::filterRow($row); }