Hi Matthew,

> Actually, better: extend Zend_Form and override filterName() in your
> extending class.

That is no problem at all. But since Zend_Form_Element has the identical
filterName() method I would need to extend Zend_Form_Element as well and
 overwrite the filterName() method. This would mean that I need to
extend every class that is based on Zend_Form_Element:

    23.6.1. Zend_Form_Element_Button
    23.6.2. Zend_Form_Element_Captcha
    23.6.3. Zend_Form_Element_Checkbox
    23.6.4. Zend_Form_Element_File
    23.6.5. Zend_Form_Element_Hidden
    23.6.6. Zend_Form_Element_Hash
    23.6.7. Zend_Form_Element_Image
    23.6.8. Zend_Form_Element_MultiCheckbox
    23.6.9. Zend_Form_Element_Multiselect
    23.6.10. Zend_Form_Element_Password
    23.6.11. Zend_Form_Element_Radio
    23.6.12. Zend_Form_Element_Reset
    23.6.13. Zend_Form_Element_Select
    23.6.14. Zend_Form_Element_Submit
    23.6.15. Zend_Form_Element_Text
    23.6.16. Zend_Form_Element_Textarea

and as well the Dijit-specific form elements as well. Or am I wrong with
this assumption?

I would rather kick the filterName() method from Zend_Form,
Zend_Form_Element and Zend_Form_DisplayGroup and use a Zend_Filter class
instead.

Thanks and best regards,

Ralf

Reply via email to