コード例 #1
0
ファイル: Processing.php プロジェクト: Doability/magento2dev
 private function forceRemoveProcessing(\Ess\M2ePro\Model\Processing $processing)
 {
     $table = $this->activeRecordFactory->getObject('Processing\\Lock')->getResource()->getMainTable();
     $this->resourceConnection->getConnection()->delete($table, array('`processing_id` = ?' => (int) $processing->getId()));
     $table = $this->activeRecordFactory->getObject('Processing')->getResource()->getMainTable();
     $this->resourceConnection->getConnection('core_write')->delete($table, array('`id` = ?' => (int) $processing->getId()));
 }
コード例 #2
0
ファイル: Runner.php プロジェクト: Doability/magento2dev
 public function setProcessingObject(\Ess\M2ePro\Model\Processing $processingObject)
 {
     $this->processingObject = $processingObject;
     $this->setParams($processingObject->getParams());
     return $this;
 }