/** * Enter description here ... * @param Morphes_Db_Model_Object $object * @param array $values * @param array $options */ protected function _processReplicationInsert($object, $values, $options) { $object->setCode($values['code'])->setType($values['type'])->setData('_m_prevent_replication', true); $object->setIsEnabled($values['is_enabled']); $object->setDisplay(Mage::helper('morphes_db')->getLatestConfig('morphes_filters/display/' . $object->getType())); $object->setName($values['name']); $object->setIsEnabledInSearch($values['is_enabled_in_search']); $object->setPosition($values['position']); $object->setSortMethod(Mage::helper('morphes_db')->getLatestConfig('morphes_filters/display/sort_method')); }
/** * Enter description here ... * @param Morphes_Db_Model_Object $object * @param array $values * @param array $options */ protected function _processReplicationInsert($object, $values, $options) { $object->setGlobalId($values['global_id'])->setStoreId($values['store_id'])->setData('_m_prevent_replication', true); $object->setIsEnabled($values['is_enabled']); $object->setDisplay($values['display']); $object->setName($values['name']); $object->setIsEnabledInSearch($values['is_enabled_in_search']); $object->setPosition($values['position']); $object->setSortMethod($values['sort_method']); $object->setOperation($values['operation']); $object->setIsReverse($values['is_reverse']); }