ZF-3228: Zend_Form::setElementDecorators(): pass an array of elements to exclude / include from decorator setting
Description
I would like to suggest the followin improvement for the Zend_Form::setElementDecorators() method:
It should be possible to pass an array of elements. The passed array of decorators should be set for all of these elements. This should work both for excluding and including these elements. The method could look like this:
public function setElementDecorators(array $decorators, array $elements, $include = true)
{
}
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-05-09T11:35:56.000+0000
Scheduling for next minor release (new functionality).
Posted by Matthew Weier O'Phinney (matthew) on 2008-08-05T08:56:46.000+0000
Added in r10681 to trunk and merged to 1.6 release branch with r10682.
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:03.000+0000
Updating for the 1.6.0 release.