public function delete() { $temp = parent::delete(); $temp && ($this->shippingTemplateModel = NULL); $temp && ($this->shippingServiceSourceModels = array()); return $temp; }
public function delete() { $temp = parent::delete(); $temp && ($this->categoryTemplateModel = NULL); $temp && ($this->categorySpecificSourceModels = array()); return $temp; }
public function delete() { $temp = parent::delete(); $temp && ($this->shippingTemplateModel = NULL); $temp && ($this->shippingCalculatedSourceModels = array()); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('ebay_template_shipping_calculated'); return $temp; }
public function delete() { $temp = parent::delete(); $temp && ($this->accountModel = NULL); $temp && ($this->marketplaceModel = NULL); $temp && ($this->magentoProductModel = NULL); return $temp; }
public function delete() { if (!parent::delete()) { return false; } $connection = $this->getResource()->getConnection(); $filterGroupRelation = $this->getResource()->getTable('m2epro_ebay_motor_filter_to_group'); $connection->delete($filterGroupRelation, array('filter_id = ?' => $this->getId())); return true; }
public function delete() { if ($this->isLocked()) { return false; } $this->marketplaceModel = NULL; $this->accountModel = NULL; $this->otherCategorySourceModels = array(); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('ebay_template_othercategory'); return parent::delete(); }
public function delete() { if ($this->isLocked()) { return false; } $services = $this->getServices(true); foreach ($services as $service) { $service->delete(); } $this->marketplaceModel = NULL; $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('amazon_template_shippingoverride'); return parent::delete(); }
public function delete() { if ($this->isLocked()) { return false; } if (is_null($this->getId())) { throw new \Ess\M2ePro\Model\Exception\Logic('Method require loaded instance first'); } $connection = $this->getResource()->getConnection(); $connection->delete($this->activeRecordFactory->getObject('Ebay\\Listing\\Product\\PickupStore')->getResource()->getMainTable(), array('account_pickup_store_id = ?' => $this->getId())); $connection->delete($this->activeRecordFactory->getObject('Ebay\\Account\\PickupStore\\State')->getResource()->getMainTable(), array('account_pickup_store_id = ?' => $this->getId())); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('ebay_account_pickup_store'); return parent::delete(); }
public function delete() { if ($this->isLocked()) { return false; } $specifics = $this->getSpecifics(true); foreach ($specifics as $specific) { $specific->delete(); } $this->marketplaceModel = NULL; $this->categorySourceModels = array(); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('ebay_template_category'); return parent::delete(); }
public function delete() { $temp = parent::delete(); $temp && ($this->paymentTemplateModel = NULL); return $temp; }
public function delete() { if ($this->isLocked()) { return false; } $calculatedShippingObject = $this->getCalculatedShipping(); if (!is_null($calculatedShippingObject)) { $calculatedShippingObject->delete(); } $services = $this->getServices(true); foreach ($services as $service) { $service->delete(); } $this->marketplaceModel = NULL; $this->calculatedShippingModel = NULL; $this->shippingSourceModels = array(); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('ebay_template_shipping'); return parent::delete(); }
public function delete() { $temp = parent::delete(); $temp && ($this->descriptionTemplateModel = NULL); $temp && ($this->descriptionDefinitionSourceModels = array()); $this->getHelper('Data\\Cache\\Permanent')->removeTagValues('template_description_definition'); return $temp; }
public function delete() { if (is_null($this->getId())) { throw new \Ess\M2ePro\Model\Exception\Logic('Method require loaded instance first'); } if ($this->isLocked()) { return false; } $this->deleteChildInstance(); $temp = parent::delete(); $this->childMode = NULL; $this->childObject = NULL; return $temp; }