ZF-11656: Add and remove class to Zend_Form_Element


Sometimes we need to set the class attribute to a Zend_Form_Element in different moments. Every time I need to append a class to element, I need to get the setted ones, concat with the new one and set the class attribute again. Would be well useful if Zend_Form_Element implements something that able us to add and remove classes to Zend_Form_Element.


No comments to display