protected function isAttributeAllowed(Mage_Eav_Model_Entity_Attribute_Abstract $attribute) { if ($attribute->getFrontendLabel()) { return true; } return false; }
/** * 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() != ""; }