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


PHP Mage_Core_Model_Abstract::getIsMassStatus方法代码示例

本文整理汇总了PHP中Mage_Core_Model_Abstract::getIsMassStatus方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Model_Abstract::getIsMassStatus方法的具体用法?PHP Mage_Core_Model_Abstract::getIsMassStatus怎么用?PHP Mage_Core_Model_Abstract::getIsMassStatus使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Mage_Core_Model_Abstract的用法示例。


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

示例1: _afterSave

 /**
  * Call-back function
  */
 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     if (!$object->getIsMassStatus()) {
         $this->_saveToStoreTable($object);
     }
     return parent::_afterSave($object);
 }
开发者ID:technomagegithub,项目名称:olgo.nl,代码行数:10,代码来源:Rewrite.php

示例2: _afterSave

 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     /** @var  Mirasvit_Helpdesk_Model_Status $object */
     if (!$object->getIsMassStatus()) {
     }
     return parent::_afterSave($object);
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:7,代码来源:Status.php

示例3: _afterSave

 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     /** @var  Mirasvit_Helpdesk_Model_Permission $object */
     if (!$object->getIsMassStatus()) {
         $this->saveDepartmentIds($object);
     }
     return parent::_afterSave($object);
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:8,代码来源:Mirasvit_Helpdesk_Model_Resource_Permission.php

示例4: _afterSave

 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     /** @var  Mirasvit_Helpdesk_Model_Template $object */
     if (!$object->getIsMassStatus()) {
         $this->saveStoreIds($object);
     }
     return parent::_afterSave($object);
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:8,代码来源:Template.php

示例5: _afterSave

 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     /** @var  Mirasvit_Helpdesk_Model_Email $object */
     if (!$object->getIsMassStatus()) {
     }
     if ($object->getAttachmentMessageId()) {
         $resource = Mage::getSingleton('core/resource');
         $writeConnection = $resource->getConnection('core_write');
         $query = "UPDATE {$resource->getTableName('helpdesk/attachment')} SET message_id = '{$object->getAttachmentMessageId()}' WHERE email_id = {$object->getId()}";
         $writeConnection->query($query);
     }
     return parent::_afterSave($object);
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:13,代码来源:Email.php

示例6: _afterSave

 protected function _afterSave(Mage_Core_Model_Abstract $object)
 {
     if (!$object->getIsMassStatus()) {
         if ($object->getPath() == '/') {
             $object->setPath($object->getId());
             $this->_savePath($object);
         } elseif (substr($object->getPath(), -1) == '/') {
             $object->setPath($object->getPath() . $object->getId());
             $this->_savePath($object);
         }
         $this->_saveStore($object);
     }
     return parent::_afterSave($object);
 }
开发者ID:vinayshuklasourcefuse,项目名称:sareez,代码行数:14,代码来源:Glace_Menu_Model_Resource_Item.php

示例7: _beforeSave

 /**
  * Before save.
  *
  * @param Mirasvit_FeedExport_Model_Feed $object
  *
  * @return $this
  */
 protected function _beforeSave(Mage_Core_Model_Abstract $object)
 {
     if ($object->isObjectNew() && !$object->hasCreatedAt()) {
         $object->setCreatedAt(Mage::getSingleton('core/date')->gmtDate());
     }
     $object->setUpdatedAt(Mage::getSingleton('core/date')->gmtDate());
     if (!$object->getIsMassStatus()) {
         Mage::helper('feedexport/format')->preparePostData($object);
         if (is_array($object->getCronDay())) {
             $object->setCronDay(implode(',', $object->getCronDay()));
         }
         if (is_array($object->getCronTime())) {
             $object->setCronTime(implode(',', $object->getCronTime()));
         }
         if (is_array($object->getNotificationEvents())) {
             $object->setNotificationEvents(implode(',', $object->getNotificationEvents()));
         }
     }
     $this->saveRules($object);
     return parent::_beforeSave($object);
 }
开发者ID:vinayshuklasourcefuse,项目名称:sareez,代码行数:28,代码来源:Feed.php


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