예제 #1
0
 protected function isAttributeAllowed(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
 {
     if ($attribute->getFrontendLabel()) {
         return true;
     }
     return false;
 }
예제 #2
0
 /**
  * Check if attribute allowed
  *
  * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
  * @param array $attributes
  * @return boolean
  */
 protected function _isAllowedAttribute($attribute)
 {
     return !in_array($attribute->getFrontendInput(), $this->_ignoredAttributeTypes) && !in_array($attribute->getAttributeCode(), $this->_ignoredAttributeCodes) && $attribute->getFrontendLabel() != "";
 }