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->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']);
 }
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->setGlobalId($values['global_id'])->setStoreId($values['store_id'])->setFilterId($values['filter_id'])->setOptionId($values['option_id'])->setValueId($values['value_id'])->setData('_m_prevent_replication', true);
     $object->setName($values['name']);
     $object->setPosition($values['position']);
 }