/** * Constructor */ public function __construct() { $add = array('_wishlist_shared', '_wishlist_updated_at', '_wishlist_sharing_code', '_wishlist_item_sku', '_wishlist_item_added_at', '_wishlist_item_description', '_wishlist_item_qty'); $this->_particularAttributes = array_merge($this->_particularAttributes, $add); $this->_messageTemplates[self::ERROR_INVALID_SKU] = 'SKU not found'; $this->_messageTemplates[self::ERROR_INVALID_QTY] = 'Qty must me numeric'; parent::__construct(); $this->_addressEntity = Mage::getModel('fastsimpleimport/import_entity_customer_address', $this); }
/** * Constructor. * * @return void */ public function __construct() { parent::__construct(); $this->_addressEntity = Mage::getModel('fastsimpleimport/import_entity_customer_address', $this); }
/** * Sets the proper data source model and adress model. * * @return void */ public function __construct() { parent::__construct(); $this->_dataSourceModel = Danslo_ApiImport_Model_Import::getDataSourceModel(); $this->_addressEntity = Mage::getModel('api_import/import_entity_customer_address', $this); }