Issue Type: Improvement Created: 2011-11-11T17:09:50.000+0000 Last Updated: 2011-11-30T17:40:50.000+0000 Status: Open Fix version(s): Reporter: Guilherme Henrique de Oliveira (ghophp) Assignee: Christian Albrecht (alab) Tags: - Zend_Form
Related issues: Attachments:
I suggest on Zend_Form_Element a removeDecorators(array), actually we just have removeDecorator(string), if i want to remove more than one i have to recall the function few times.
Posted by Chris Atkinson (layke) on 2011-11-11T18:54:19.000+0000
Wouldn't it just make sense to use setDecorators at that point. This would probably just complicate things. Especially how would you remove particular decorators that cannot be referred to by their decorator name, (since they have been used twice).
Posted by Guilherme Henrique de Oliveira (ghophp) on 2011-11-11T19:32:18.000+0000
a decorator can be always referred by name, the question is in case i have for example 50 decorators, and i don't want 2 of those, instead make a setDecorators() with a lot of params (or something like), i just remove those 2 with removeDecorators(array('foo', 'bar')).
Have you found an issue?
See the Overview section for more details.