本文整理汇总了PHP中Mage_Eav_Model_Entity_Attribute::_afterSave方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Eav_Model_Entity_Attribute::_afterSave方法的具体用法?PHP Mage_Eav_Model_Entity_Attribute::_afterSave怎么用?PHP Mage_Eav_Model_Entity_Attribute::_afterSave使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Eav_Model_Entity_Attribute
的用法示例。
在下文中一共展示了Mage_Eav_Model_Entity_Attribute::_afterSave方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _afterSave
/**
* Processing object after save data
*
* @return Mage_Core_Model_Abstract
*/
protected function _afterSave()
{
/**
* Fix saving attribute in admin
*/
Mage::getSingleton('eav/config')->clear();
return parent::_afterSave();
}
示例2: _afterSave
/**
* Processing object after save data
*
* @return Mage_Core_Model_Abstract
*/
protected function _afterSave()
{
Mage::getSingleton('eav/config')->clear();
return parent::_afterSave();
}
示例3: _afterSave
/**
* Processing vendor attribute after save data
*
* @return Ced_CsMarketplace_Model_Vendor_Attribute
*/
protected function _afterSave()
{
parent::_afterSave();
if ($this->getId()) {
$joinFields = $this->_vendorForm($this);
if (count($joinFields) > 0) {
foreach ($joinFields as $joinField) {
$joinField->setData('is_visible', $this->getData('is_visible'));
$joinField->setData('sort_order', $this->getData('position'));
$joinField->setData('use_in_registration', $this->getData('use_in_registration'));
$joinField->setData('position_in_registration', $this->getData('position_in_registration'));
$joinField->setData('use_in_left_profile', $this->getData('use_in_left_profile'));
$joinField->setData('fontawesome_class_for_left_profile', $this->getData('fontawesome_class_for_left_profile'));
$joinField->setData('position_in_left_profile', $this->getData('position_in_left_profile'));
$joinField->save();
}
}
}
return $this;
}
示例4: _afterSave
/**
* Processing object after save data
*
* @return Mage_Core_Model_Abstract
*/
protected function _afterSave()
{
/**
* Fix saving attribute in admin
*/
Mage::getSingleton('eav/config')->clear();
Mage::getSingleton('index/indexer')->processEntityAction(
$this, self::ENTITY, Mage_Index_Model_Event::TYPE_SAVE
);
return parent::_afterSave();
}
示例5: _afterSave
/**
* Processing object after save data
*
* @return Mage_Eav_Model_Attribute
*/
protected function _afterSave()
{
Mage::getSingleton('Mage_Eav_Model_Config')->clear();
return parent::_afterSave();
}