/** * Sets import behavior in the source model. * * @param string $behavior * @return void */ protected function _setBehavior($behavior) { try { $this->_api->getDataSourceModel()->setBehavior($behavior); } catch (Mage_Core_Exception $e) { $this->_fault('invalid_behavior', $e->getMessage()); } }