当前位置: 首页>>代码示例>>PHP>>正文


PHP Ess_M2ePro_Model_Component_Abstract类代码示例

本文整理汇总了PHP中Ess_M2ePro_Model_Component_Abstract的典型用法代码示例。如果您正苦于以下问题:PHP Ess_M2ePro_Model_Component_Abstract类的具体用法?PHP Ess_M2ePro_Model_Component_Abstract怎么用?PHP Ess_M2ePro_Model_Component_Abstract使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Ess_M2ePro_Model_Component_Abstract类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->categoryTemplateModel = NULL);
     $temp && ($this->magentoProductModel = NULL);
     return $temp;
 }
开发者ID:xiaoguizhidao,项目名称:ecommerce,代码行数:7,代码来源:Specific.php

示例2: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->newProductTemplateModel = NULL);
     $temp && ($this->newProductAttributeSourceModels = array());
     return $temp;
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:7,代码来源:Attribute.php

示例3: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->categoryTemplateModel = NULL);
     $temp && ($this->categorySpecificSourceModels = array());
     return $temp;
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:7,代码来源:Specific.php

示例4: isLocked

 public function isLocked()
 {
     if (parent::isLocked()) {
         return true;
     }
     return (bool) Mage::helper('M2ePro/Component_Amazon')->getCollection('Listing_Product')->addFieldToFilter('template_new_product_id', $this->getId())->addFieldToFilter('status', Ess_M2ePro_Model_Listing_Product::STATUS_NOT_LISTED)->getSize();
 }
开发者ID:technomagegithub,项目名称:magento,代码行数:7,代码来源:NewProduct.php

示例5: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->shippingTemplateModel = NULL);
     $temp && ($this->shippingServiceSourceModels = array());
     return $temp;
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:7,代码来源:Service.php

示例6: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->accountModel = NULL);
     $temp && ($this->marketplaceModel = NULL);
     $temp && ($this->magentoProductModel = NULL);
     return $temp;
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:8,代码来源:Item.php

示例7: deleteInstance

 public function deleteInstance()
 {
     if ($this->isLocked()) {
         return false;
     }
     $temp = parent::deleteInstance();
     $temp && ($this->newProductTemplateModel = NULL);
     $temp && ($this->newProductCoreSourceModels = array());
     return $temp;
 }
开发者ID:ppkowalski,项目名称:M2E,代码行数:10,代码来源:Core.php

示例8: deleteInstance

 public function deleteInstance()
 {
     if (!parent::deleteInstance()) {
         return false;
     }
     /** @var $connWrite Varien_Db_Adapter_Pdo_Mysql */
     $connWrite = Mage::getSingleton('core/resource')->getConnection('core_write');
     $coreResourceModel = Mage::getSingleton('core/resource');
     $filterGroupRelation = $coreResourceModel->getTableName('m2epro_ebay_motor_filter_to_group');
     $connWrite->delete($filterGroupRelation, array('group_id = ?' => $this->getId()));
     return true;
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:12,代码来源:Group.php

示例9: delete

 public function delete()
 {
     Mage::helper('M2ePro/Data_Cache')->removeTagValues('ebay_template_category');
     return parent::delete();
 }
开发者ID:xiaoguizhidao,项目名称:devfashion,代码行数:5,代码来源:Category.php

示例10: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->accountModel = NULL);
     return $temp;
 }
开发者ID:xiaoguizhidao,项目名称:beut,代码行数:6,代码来源:Message.php

示例11: deleteInstance

 public function deleteInstance()
 {
     $temp = parent::deleteInstance();
     $temp && ($this->generalTemplateModel = NULL);
     return $temp;
 }
开发者ID:xiaoguizhidao,项目名称:beut,代码行数:6,代码来源:Payment.php

示例12: _construct

 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/Listing_Auto_Category');
 }
开发者ID:newedge-media,项目名称:iwantmymeds,代码行数:5,代码来源:Category.php

示例13: _getResource

 protected function _getResource()
 {
     if (is_null($this->childMode)) {
         return parent::_getResource();
     }
     if (empty($this->_resourceName)) {
         Mage::throwException(Mage::helper('core')->__('Resource is not set.'));
     }
     $arguments = array('child_mode' => $this->childMode);
     return Mage::getResourceModel($this->_resourceName, $arguments);
 }
开发者ID:xiaoguizhidao,项目名称:devfashion,代码行数:11,代码来源:Abstract.php

示例14: save

 public function save()
 {
     Mage::helper('M2ePro/Data_Cache_Permanent')->removeTagValues('template_newproduct_core');
     return parent::save();
 }
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:5,代码来源:Core.php


注:本文中的Ess_M2ePro_Model_Component_Abstract类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。