Exemplo n.º 1
0
 /**
  * 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'));
 }
Exemplo n.º 2
0
 /**
  * Enter description here ...
  * @param Morphes_Db_Model_Object $object
  * @param array $values
  * @param array $options
  */
 protected function _processReplicationInsert($object, $values, $options)
 {
     $object->setOptionId($values['option_id'])->setFilterId($values['filter_id'])->setValueId($values['value_id'])->setData('_m_prevent_replication', true);
     $object->setName($values['name']);
     $object->setPosition($values['position']);
 }
Exemplo n.º 3
0
 /**
  * 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']);
 }