/** * Whether the specified attribute needs to skip rendering/validation * * @param Mage_Eav_Model_Attribute $attribute * @return bool */ protected function _isAttributeOmitted($attribute) { if ($this->_ignoreInvisible && !$attribute->getIsVisible()) { return true; } return false; }
/** * Whether the specified attribute needs to skip rendering/validation * * @param Mage_Eav_Model_Attribute $attribute * @return bool */ protected function _isAttributeOmitted($attribute) { if (!$attribute->getIsVisible()) { return true; } return false; }