Example #1
0
 protected function _construct()
 {
     $this->_entityTypeId = Mage::getModel('eav/entity')->setType(Mage_Catalog_Model_Product::ENTITY)->getTypeId();
     $this->_attributeSets = $this->_getAttributeSets();
     $this->_attributeSetGroups = $this->_getAttributeSetGroups();
     $this->_initAttributes();
     $this->_errorCodes = array('cant_create_attribute_set' => 101, 'missing_attribute_set' => 102, 'default_attribute_set_not_set' => 103, 'error_processing_attribute' => 104, 'error_adding_attribute_options' => 105);
     parent::_construct();
 }
Example #2
0
 protected function _construct()
 {
     $this->_errorCodes = array('cant_save_configurable_data' => 301);
     parent::_construct();
 }
Example #3
0
 protected function _construct()
 {
     $this->_errorCodes = array('cant_save_downloadable_data' => '901');
     parent::_construct();
 }
Example #4
0
 protected function _construct()
 {
     $this->_errorCodes = array('cant_save_bundle_data' => '801');
     parent::_construct();
 }
Example #5
0
 protected function _construct()
 {
     $this->_linkTypes = $this->_getResource()->getLinkTypes();
     $this->_errorCodes = array('cant_save_links_data' => 501);
     parent::_construct();
 }
Example #6
0
 protected function _construct()
 {
     $this->_initCategories();
     $this->_errorCodes = array('cant_save_category' => 201);
     parent::_construct();
 }
Example #7
0
 protected function _construct()
 {
     $this->_optionTypes = $this->_getOptionTypes();
     $this->_errorCodes = array('invalid_options_data' => 701, 'invalid_options_type' => 702);
     parent::_construct();
 }
Example #8
0
 protected function _construct()
 {
     $this->_errorCodes = array('no_media_attribute' => 801);
     parent::_construct();
 }