예제 #1
0
 protected function _getDefaultSourceModel()
 {
     switch ($this->getAttributeCode()) {
         case 'store_id':
             return 'eav/entity_attribute_source_store';
     }
     return parent::_getDefaultSourceModel();
 }
예제 #2
0
 /**
  * Retreive default attribute source model
  *
  * @return string
  */
 protected function _getDefaultSourceModel()
 {
     if ($this->getAttributeCode() == 'store_id') {
         return 'eav/entity_attribute_source_store';
     }
     return parent::_getDefaultSourceModel();
 }
예제 #3
0
 /**
  * Retrieve default attribute source model
  *
  * @return string
  */
 protected function _getDefaultSourceModel()
 {
     if ($this->getAttributeCode() == 'store_id') {
         return 'Mage_Eav_Model_Entity_Attribute_Source_Store';
     }
     return parent::_getDefaultSourceModel();
 }