Example #1
0
 protected function _prepareData(Varien_Object $options = null)
 {
     $this->_hasDataChanges = true;
     if ($options && $options->hasDestinationId()) {
         $this->_destinationId = $options->getDestinationId();
     }
     if (!is_null($this->getDestinationId())) {
         $this->addHeader(Xcom_Xfabric_Model_Message_Abstract::DESTINATION_ID_HEADER, $this->getDestinationId());
     }
     return $this;
 }