コード例 #1
0
ファイル: Item.php プロジェクト: Doability/magento2dev
 public function deleteByAction(\Ess\M2ePro\Model\Amazon\Processing\Action $action)
 {
     return $this->getConnection()->delete($this->getMainTable(), array('action_id = ?' => $action->getId()));
 }
コード例 #2
0
ファイル: Collection.php プロジェクト: Doability/magento2dev
 public function setActionFilter(\Ess\M2ePro\Model\Amazon\Processing\Action $action)
 {
     $this->addFieldToFilter('main_table.action_id', (int) $action->getId());
     return $this;
 }